Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
|
|
8 |
import tempfile
|
9 |
import os
|
10 |
|
11 |
-
MODEL_NAME = "
|
12 |
BATCH_SIZE = 8
|
13 |
FILE_LIMIT_MB = 1000
|
14 |
YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files
|
@@ -117,7 +117,7 @@ file_transcribe = gr.Interface(
|
|
117 |
outputs="text",
|
118 |
layout="horizontal",
|
119 |
theme="huggingface",
|
120 |
-
title="Whisper Large
|
121 |
description=(
|
122 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
123 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|
@@ -135,7 +135,7 @@ yt_transcribe = gr.Interface(
|
|
135 |
outputs=["html", "text"],
|
136 |
layout="horizontal",
|
137 |
theme="huggingface",
|
138 |
-
title="Whisper Large
|
139 |
description=(
|
140 |
"Transcribe long-form YouTube videos with the click of a button! Demo uses the checkpoint"
|
141 |
f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe video files of"
|
|
|
8 |
import tempfile
|
9 |
import os
|
10 |
|
11 |
+
MODEL_NAME = "openai/whisper-large-v3"
|
12 |
BATCH_SIZE = 8
|
13 |
FILE_LIMIT_MB = 1000
|
14 |
YT_LENGTH_LIMIT_S = 3600 # limit to 1 hour YouTube files
|
|
|
117 |
outputs="text",
|
118 |
layout="horizontal",
|
119 |
theme="huggingface",
|
120 |
+
title="Whisper Large V3: Transcribe Audio",
|
121 |
description=(
|
122 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
123 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
|
|
|
135 |
outputs=["html", "text"],
|
136 |
layout="horizontal",
|
137 |
theme="huggingface",
|
138 |
+
title="Whisper Large V3: Transcribe YouTube",
|
139 |
description=(
|
140 |
"Transcribe long-form YouTube videos with the click of a button! Demo uses the checkpoint"
|
141 |
f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe video files of"
|