Spaces:
Sleeping
Sleeping
Update app.py (#3)
Browse files- Update app.py (344b523c008566b0a00997d0b98d4dfde07ee6b0)
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
|
|
9 |
import tempfile
|
10 |
import os
|
11 |
|
12 |
-
MODEL_NAME = "ylacombe/
|
13 |
BATCH_SIZE = 8
|
14 |
FILE_LIMIT_MB = 1000
|
15 |
YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files
|
@@ -99,7 +99,7 @@ mf_transcribe = gr.Interface(
|
|
99 |
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
100 |
],
|
101 |
outputs="text",
|
102 |
-
title="Whisper Large V3: Transcribe Audio",
|
103 |
description=(
|
104 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
105 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|
|
|
9 |
import tempfile
|
10 |
import os
|
11 |
|
12 |
+
MODEL_NAME = "ylacombe/whisper-large-v3-turbo"
|
13 |
BATCH_SIZE = 8
|
14 |
FILE_LIMIT_MB = 1000
|
15 |
YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files
|
|
|
99 |
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
100 |
],
|
101 |
outputs="text",
|
102 |
+
title="Whisper Large V3 Turbo: Transcribe Audio",
|
103 |
description=(
|
104 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
105 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|