rafat0421 commited on
Commit
3e24523
·
1 Parent(s): b74bc53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Enter YouTube Link with Swedish speech to be transcribed", label="Transcribe from YouTube URL"),
106
- gr.Slider(minimum=30, maximum=300, value=30, step=30, label="Number of seconds to transcribe from YouTube URL")
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",