Spaces:
Running
Running
submit
Browse files
app.py
CHANGED
@@ -48,7 +48,8 @@ def translate_text(text):
|
|
48 |
demo = gr.Interface(fn=transcribe_audio,
|
49 |
inputs=gr.Audio(type="filepath"), # Corrected input component
|
50 |
outputs=["text", "text"], # Both transcription and translation outputs
|
51 |
-
live=
|
52 |
|
|
|
53 |
demo.launch()
|
54 |
demo.launch(api=True, share=True)
|
|
|
48 |
demo = gr.Interface(fn=transcribe_audio,
|
49 |
inputs=gr.Audio(type="filepath"), # Corrected input component
|
50 |
outputs=["text", "text"], # Both transcription and translation outputs
|
51 |
+
live=False)
|
52 |
|
53 |
+
demo.add_button("Submit")
|
54 |
demo.launch()
|
55 |
demo.launch(api=True, share=True)
|