Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def infer(image_input):
|
|
14 |
time.sleep(2)
|
15 |
FILETOCONVERT.write_audiofile("audio.wav")
|
16 |
FILETOCONVERT.close()
|
17 |
-
return
|
18 |
|
19 |
title = """
|
20 |
<div style="text-align: center; max-width: 700px; margin: 0 auto;">
|
|
|
14 |
time.sleep(2)
|
15 |
FILETOCONVERT.write_audiofile("audio.wav")
|
16 |
FILETOCONVERT.close()
|
17 |
+
return cap, "audio.wav", gr.Group.update(visible=True)
|
18 |
|
19 |
title = """
|
20 |
<div style="text-align: center; max-width: 700px; margin: 0 auto;">
|