Instructions to use declare-lab/tango2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use declare-lab/tango2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="declare-lab/tango2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("declare-lab/tango2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update main config json as stable diffusion 2.1 has been removed
Browse files- main_config.json +1 -1
main_config.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"text_encoder_name": "google/flan-t5-large", "scheduler_name": "
|
|
|
|
| 1 |
+
{"text_encoder_name": "google/flan-t5-large", "scheduler_name": "sd2-community/stable-diffusion-2-1", "unet_model_name": null, "unet_model_config_path": "configs/diffusion_model_config.json", "snr_gamma": 5.0}
|