fffiloni commited on
Commit
6eed459
β€’
1 Parent(s): 59a139e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -11,10 +11,8 @@ audio_gen = gr.Blocks.load(name="spaces/fffiloni/audioldm-text-to-audio-generati
11
  ph_message="If you're not happy with sound result, you can manually describe the scene depicted in your image :)"
12
 
13
  def clean():
14
- cleaned_outputs = [manual_cap.update(value="",placeholder=ph_message),
15
- caption_output.update(value=None),
16
- sound_output.update(value=None)]
17
- return cleaned_outputs
18
 
19
  def infer(image_input, manual_caption, duration_in, seed):
20
  print(duration_in)
 
11
  ph_message="If you're not happy with sound result, you can manually describe the scene depicted in your image :)"
12
 
13
  def clean():
14
+
15
+ return manual_cap.update(value="",placeholder=ph_message), caption_output.update(value=None), sound_output.update(value=None)
 
 
16
 
17
  def infer(image_input, manual_caption, duration_in, seed):
18
  print(duration_in)