This should work without any issues.
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -18,6 +18,6 @@ def transcribe(audio_file):
|
|
| 18 |
return {"aligned": result_aligned["segments"], "word_segments": result_aligned["word_segments"]}
|
| 19 |
|
| 20 |
inputs = gr.inputs.Audio(source="upload", type="filepath")
|
| 21 |
-
outputs = gr.outputs.JSON(
|
| 22 |
|
| 23 |
gr.Interface(fn=transcribe, inputs=inputs, outputs=outputs).launch()
|
|
|
|
| 18 |
return {"aligned": result_aligned["segments"], "word_segments": result_aligned["word_segments"]}
|
| 19 |
|
| 20 |
inputs = gr.inputs.Audio(source="upload", type="filepath")
|
| 21 |
+
outputs = gr.outputs.JSON()
|
| 22 |
|
| 23 |
gr.Interface(fn=transcribe, inputs=inputs, outputs=outputs).launch()
|