Spaces:
Runtime error
Runtime error
Commit
·
ab68c73
1
Parent(s):
bbbecb9
Update app.py
Browse files
app.py
CHANGED
@@ -46,15 +46,4 @@ voice_demo = gr.Interface(
|
|
46 |
|
47 |
demo = gr.TabbedInterface([url_demo, voice_demo], ["Swedish YouTube Video to English Text", "Swedish Audio to English Text"])
|
48 |
|
49 |
-
demo.launch()
|
50 |
-
|
51 |
-
iface = gr.Interface(
|
52 |
-
fn=transcribe,
|
53 |
-
inputs=gr.Audio(source="microphone", type="filepath"),
|
54 |
-
outputs=[gr.Textbox(label="Transcribed text"),
|
55 |
-
gr.Textbox(label="English translation")],
|
56 |
-
title="Swedish speech to english text",
|
57 |
-
description="Transcribing swedish audio and video to text and translating to english!",
|
58 |
-
)
|
59 |
-
|
60 |
-
iface.launch()
|
|
|
46 |
|
47 |
demo = gr.TabbedInterface([url_demo, voice_demo], ["Swedish YouTube Video to English Text", "Swedish Audio to English Text"])
|
48 |
|
49 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|