Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
import pytube as pt
|
| 5 |
from transformers import pipeline
|
| 6 |
|
| 7 |
-
MODEL_NAME = "openai/whisper-small"
|
| 8 |
|
| 9 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 10 |
|
|
@@ -44,7 +44,7 @@ mf_transcribe = gr.Interface(
|
|
| 44 |
,
|
| 45 |
layout="horizontal",
|
| 46 |
theme="huggingface",
|
| 47 |
-
title="Whisper Small: Transcribe Audio",
|
| 48 |
live=True,
|
| 49 |
description=(
|
| 50 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|
|
|
|
| 4 |
import pytube as pt
|
| 5 |
from transformers import pipeline
|
| 6 |
|
| 7 |
+
MODEL_NAME = "openai/whisper-small.en"
|
| 8 |
|
| 9 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 10 |
|
|
|
|
| 44 |
,
|
| 45 |
layout="horizontal",
|
| 46 |
theme="huggingface",
|
| 47 |
+
title="Whisper Small.EN: Transcribe Audio",
|
| 48 |
live=True,
|
| 49 |
description=(
|
| 50 |
"Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
|