Spaces:
Runtime error
Runtime error
Commit
·
0d55d3e
1
Parent(s):
aea5cb5
Initial commit
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def process(audio):
|
|
42 |
result = pipe(audio)['chunks']
|
43 |
for item in result:
|
44 |
item['timestamp'] = list(item['timestamp'])
|
45 |
-
return result
|
46 |
|
47 |
|
48 |
iface = gr.Interface(fn=process, inputs="audio", outputs="text")
|
|
|
42 |
result = pipe(audio)['chunks']
|
43 |
for item in result:
|
44 |
item['timestamp'] = list(item['timestamp'])
|
45 |
+
return json.dumps(result)
|
46 |
|
47 |
|
48 |
iface = gr.Interface(fn=process, inputs="audio", outputs="text")
|