BoburAmirov commited on
Commit
fda40b2
·
1 Parent(s): f70a8a3

app file updated

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. requirements.txt +1 -2
app.py CHANGED
@@ -132,7 +132,7 @@ mf_transcribe = gr.Interface(
132
  outputs="text",
133
  layout="horizontal",
134
  theme="huggingface",
135
- title="Whisper Large V3 Uxbek: Transcribe Audio",
136
  description=(
137
  "\n\n"
138
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
@@ -143,7 +143,7 @@ mf_transcribe = gr.Interface(
143
  file_transcribe = gr.Interface(
144
  fn=transcribe,
145
  inputs=[
146
- gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
147
  gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
148
  gr.inputs.Checkbox(label="Return timestamps"),
149
  gr.inputs.Dropdown(choices=["English", "Uzbek"], label="Language"),
@@ -151,7 +151,7 @@ file_transcribe = gr.Interface(
151
  outputs="text",
152
  layout="horizontal",
153
  theme="huggingface",
154
- title="Whisper Large V3 Uxbek: Transcribe Audio File",
155
  description=(
156
  "\n\n"
157
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
@@ -170,7 +170,7 @@ yt_transcribe = gr.Interface(
170
  outputs=["html", "text"],
171
  layout="horizontal",
172
  theme="huggingface",
173
- title="Whisper Large V3 Uxbek: Transcribe YouTube",
174
  description=(
175
  "\n\n"
176
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
 
132
  outputs="text",
133
  layout="horizontal",
134
  theme="huggingface",
135
+ title="Whisper Large V3 Uzbek: Transcribe Audio",
136
  description=(
137
  "\n\n"
138
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
 
143
  file_transcribe = gr.Interface(
144
  fn=transcribe,
145
  inputs=[
146
+ gr.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
147
  gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
148
  gr.inputs.Checkbox(label="Return timestamps"),
149
  gr.inputs.Dropdown(choices=["English", "Uzbek"], label="Language"),
 
151
  outputs="text",
152
  layout="horizontal",
153
  theme="huggingface",
154
+ title="Whisper Large V3 Uzbek: Transcribe Audio File",
155
  description=(
156
  "\n\n"
157
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
 
170
  outputs=["html", "text"],
171
  layout="horizontal",
172
  theme="huggingface",
173
+ title="Whisper Large V3 Uzbek: Transcribe YouTube",
174
  description=(
175
  "\n\n"
176
  "<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  git+https://github.com/huggingface/transformers
2
  torch
3
- yt-dlp
4
- gradio==3.50
 
1
  git+https://github.com/huggingface/transformers
2
  torch
3
+ yt-dlp