Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -231,14 +231,14 @@ def gradio_generate(prompt, steps, guidance):
|
|
231 |
return output_filename
|
232 |
|
233 |
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
description_text = ""
|
243 |
# Gradio input and output components
|
244 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
@@ -266,4 +266,5 @@ gr_interface = gr.Interface(
|
|
266 |
)
|
267 |
|
268 |
# Launch Gradio app
|
|
|
269 |
gr_interface.launch()
|
|
|
231 |
return output_filename
|
232 |
|
233 |
|
234 |
+
description_text = """
|
235 |
+
<p><a href="https://huggingface.co/spaces/declare-lab/mustango/blob/main/app.py?duplicate=true"> <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> For faster inference without waiting in queue, you may duplicate the space and upgrade to a GPU in the settings. <br/><br/>
|
236 |
+
Generate music using Mustango by providing a text prompt.
|
237 |
+
<br/><br/> Meet Mustango, an exciting addition to the vibrant landscape of Multimodal Large Language Models \
|
238 |
+
designed for controlled music generation. Mustango leverages Latent Diffusion Model (LDM), Flan-T5, and \
|
239 |
+
musical features to do the magic! \
|
240 |
+
<p/>
|
241 |
+
"""
|
242 |
description_text = ""
|
243 |
# Gradio input and output components
|
244 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
|
|
266 |
)
|
267 |
|
268 |
# Launch Gradio app
|
269 |
+
gr_interface.queue()
|
270 |
gr_interface.launch()
|