Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def infer(image_in, chosen_model):
|
|
234 |
gr.Info("Now calling Mustango for music...")
|
235 |
music_o = get_mustango(musical_prompt)
|
236 |
|
237 |
-
return musical_prompt, gr.update(visible=True), music_o
|
238 |
|
239 |
def retry(chosen_model, caption):
|
240 |
musical_prompt = caption
|
|
|
234 |
gr.Info("Now calling Mustango for music...")
|
235 |
music_o = get_mustango(musical_prompt)
|
236 |
|
237 |
+
return gr.update(value=musical_prompt, interactive=True), gr.update(visible=True), music_o
|
238 |
|
239 |
def retry(chosen_model, caption):
|
240 |
musical_prompt = caption
|