Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def infer(image_input, manual_caption, duration_in, seed, caption_output):
|
|
34 |
print("manual caption: " + cap)
|
35 |
ph_update=""
|
36 |
|
37 |
-
sound = audio_gen(cap, duration_in, 2.5, seed, 3,
|
38 |
print(sound)
|
39 |
|
40 |
#return cap, sound[1], gr.Textbox.update(placeholder=f"{ph_update}{ph_message}"), gr.Group.update(visible=True)
|
|
|
34 |
print("manual caption: " + cap)
|
35 |
ph_update=""
|
36 |
|
37 |
+
sound = audio_gen(cap, duration_in, 2.5, seed, 3, fn_index=0)
|
38 |
print(sound)
|
39 |
|
40 |
#return cap, sound[1], gr.Textbox.update(placeholder=f"{ph_update}{ph_message}"), gr.Group.update(visible=True)
|