Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
|
|
174 |
import tempfile
|
175 |
import os
|
176 |
|
177 |
-
MODEL_NAME = "razhan/whisper-
|
178 |
BATCH_SIZE = 1
|
179 |
FILE_LIMIT_MB = 10
|
180 |
YT_LENGTH_LIMIT_S = 60 * 10 # limit to 1 hour YouTube files
|
@@ -310,6 +310,7 @@ yt_transcribe = gr.Interface(
|
|
310 |
)
|
311 |
|
312 |
with demo:
|
313 |
-
gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
|
|
|
314 |
|
315 |
demo.queue().launch(ssr_mode=False)
|
|
|
174 |
import tempfile
|
175 |
import os
|
176 |
|
177 |
+
MODEL_NAME = "razhan/whisper-base-ckb"
|
178 |
BATCH_SIZE = 1
|
179 |
FILE_LIMIT_MB = 10
|
180 |
YT_LENGTH_LIMIT_S = 60 * 10 # limit to 1 hour YouTube files
|
|
|
310 |
)
|
311 |
|
312 |
with demo:
|
313 |
+
# gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
|
314 |
+
gr.TabbedInterface([mf_transcribe, file_transcribe], ["Microphone", "Audio file"])
|
315 |
|
316 |
demo.queue().launch(ssr_mode=False)
|