Open
Conversation
buttercrab
suggested changes
May 13, 2025
Moves cog.yaml, predict.py, and Replicate-specific README content into the example/replicate/ directory as per reviewer feedback. Updates the main README.md to link to the new example location.
Author
|
Hi @buttercrab! Thanks for the feedback! I've updated the PR based on your suggestion. Specifically, I've:
The Replicate badge is now only in the Thanks again for your guidance! Best, |
buttercrab
suggested changes
May 19, 2025
README.md
Outdated
| <a href="https://huggingface.co/nari-labs/Dia-1.6B"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-lg-dark.svg" alt="Dataset on HuggingFace" height=42 ></a> | ||
| <a href="https://huggingface.co/spaces/nari-labs/Dia-1.6B"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-lg-dark.svg" alt="Space on HuggingFace" height=38></a> | ||
| </p> | ||
| <p align="center"> |
Author
|
Hi @buttercrab, I've removed the paragraph referencing the Replicate example from the main The commit for this is Please let me know if there's anything else! Best, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey @nari-labs team! 👋
Dia is great! The way it generates dialogue with speaker tags and handles things like
(laughs)is really well done.To help people try Dia and use it in their projects, I've put it on Replicate:
Demo & API: https://replicate.com/zsxkib/dia
I also posted about it on X/Twitter here: https://x.com/zsakib_/status/1915037657064759716
What's new in this PR:
This PR adds the necessary files and configuration to run the existing Dia model on Replicate:
predict.py: A script to load the model and run it using Cog's interface.cog.yaml: Defines the Python environment, system packages, and GPU requirements for Replicate..dockerignore: Optimizes the Docker build by excluding unnecessary files..gitignore: Includes Replicate/Cog specific files like.cog/and/model_cache/.README.md: Added a Replicate badge linking to the demo page.This setup provides:
Example API Usage:
On Replicate, users pay for their own compute time, which helps keep things running even if a model gets popular.
Let me know if you have any questions or feedback on the Replicate page. Happy to change anything.
Thanks for making Dia open source!
- Sakib @ Replicate