Spaces:
Runtime error
Runtime error
ayberkuckun
commited on
Commit
•
0985697
1
Parent(s):
e63079d
only text
Browse files
app.py
CHANGED
@@ -38,11 +38,11 @@ def transcribe(url):
|
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|
40 |
inputs=gr.Textbox("https://www.youtube.com/watch?v=n9g12Xm9UJM", label="Paste a YouTube video URL"),
|
41 |
-
outputs=[gr.Textbox(label="Transcription"),
|
42 |
-
gr.Image("latest_titanic.png", label="Model Scores")],
|
43 |
title="Whisper Small Swedish",
|
44 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
45 |
allow_flagging="never"
|
46 |
)
|
47 |
|
48 |
iface.launch()
|
|
|
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|
40 |
inputs=gr.Textbox("https://www.youtube.com/watch?v=n9g12Xm9UJM", label="Paste a YouTube video URL"),
|
41 |
+
outputs=[gr.Textbox(label="Transcription")],
|
|
|
42 |
title="Whisper Small Swedish",
|
43 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
44 |
allow_flagging="never"
|
45 |
)
|
46 |
|
47 |
iface.launch()
|
48 |
+
# gr.Image("latest_titanic.png", label="Model Scores")
|