Update app.py
Browse files
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 |
-
|
15 |
-
|
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)
|