fffiloni commited on
Commit
7cc1a9a
1 Parent(s): 2ef1055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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