Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,13 +23,13 @@ app1 = gr.Interface(
|
|
| 23 |
|
| 24 |
app2 = gr.Interface(
|
| 25 |
fn=transcribeFile,
|
| 26 |
-
inputs=gr.Audio(source="microphone", type="filepath")
|
| 27 |
outputs="text"
|
| 28 |
)
|
| 29 |
|
| 30 |
|
| 31 |
title = "Speech to text for German"
|
| 32 |
-
demo = gr.TabbedInterface([app1, app2], ["Audio File", "Microphone"])
|
| 33 |
|
| 34 |
if __name__ == "__main__":
|
| 35 |
demo.launch()
|
|
|
|
| 23 |
|
| 24 |
app2 = gr.Interface(
|
| 25 |
fn=transcribeFile,
|
| 26 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 27 |
outputs="text"
|
| 28 |
)
|
| 29 |
|
| 30 |
|
| 31 |
title = "Speech to text for German"
|
| 32 |
+
demo = gr.TabbedInterface(title=title, [app1, app2], ["Audio File", "Microphone"])
|
| 33 |
|
| 34 |
if __name__ == "__main__":
|
| 35 |
demo.launch()
|