Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ async def detect(audio):
|
|
11 |
results = ''
|
12 |
while True:
|
13 |
print(next(recognize_generator))
|
14 |
-
results += next(recognize_generator)
|
15 |
return results
|
16 |
|
17 |
iface = gr.Interface(fn=detect, inputs=[gr.Audio(type="filepath", label="Audio File")], outputs="text")
|
|
|
11 |
results = ''
|
12 |
while True:
|
13 |
print(next(recognize_generator))
|
14 |
+
results += str(next(recognize_generator))
|
15 |
return results
|
16 |
|
17 |
iface = gr.Interface(fn=detect, inputs=[gr.Audio(type="filepath", label="Audio File")], outputs="text")
|