Spaces:
Runtime error
Runtime error
reverting share
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def fill_input_textbox(history, audio):
|
|
| 36 |
myobj.save("response.wav")
|
| 37 |
# split audio by / and keep the last element
|
| 38 |
# audio = audio.split("/")[-1]
|
| 39 |
-
|
| 40 |
history = history + [((audio, ), ('response.wav', ))]
|
| 41 |
print(history)
|
| 42 |
return history
|
|
@@ -67,4 +67,4 @@ with gr.Blocks() as demo:
|
|
| 67 |
)
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
-
demo.launch(
|
|
|
|
| 36 |
myobj.save("response.wav")
|
| 37 |
# split audio by / and keep the last element
|
| 38 |
# audio = audio.split("/")[-1]
|
| 39 |
+
audio = audio + ".wav"
|
| 40 |
history = history + [((audio, ), ('response.wav', ))]
|
| 41 |
print(history)
|
| 42 |
return history
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
+
demo.launch()
|