Update app.py
Browse files
app.py
CHANGED
|
@@ -102,8 +102,8 @@ iface = gr.Interface(
|
|
| 102 |
fn=transcribe,
|
| 103 |
inputs=[
|
| 104 |
gr.Audio(source="microphone", type="filepath", label="Transcribe from Microphone"),
|
| 105 |
-
gr.Text(max_lines=1, placeholder="
|
| 106 |
-
gr.Slider(minimum=30, maximum=300, value=30, step=30, label="Number of seconds to transcribe
|
| 107 |
],
|
| 108 |
outputs="text",
|
| 109 |
title="Whisper: transcribe Swedish language audio to text",
|
|
|
|
| 102 |
fn=transcribe,
|
| 103 |
inputs=[
|
| 104 |
gr.Audio(source="microphone", type="filepath", label="Transcribe from Microphone"),
|
| 105 |
+
gr.Text(max_lines=1, placeholder="YouTube Link", label="Transcribe from YouTube URL"),
|
| 106 |
+
gr.Slider(minimum=30, maximum=300, value=30, step=30, label="Number of seconds to transcribe")
|
| 107 |
],
|
| 108 |
outputs="text",
|
| 109 |
title="Whisper: transcribe Swedish language audio to text",
|