Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/Kiwipirate/whisperer_app
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio):
|
|
13 |
|
14 |
iface = gr.Interface(
|
15 |
fn=transcribe,
|
16 |
-
inputs=gr.Audio(
|
17 |
outputs="text",
|
18 |
title="Whisper Small Turkish",
|
19 |
description="Realtime demo for Turkish speech recognition using a fine-tuned Whisper small model.",
|
|
|
13 |
|
14 |
iface = gr.Interface(
|
15 |
fn=transcribe,
|
16 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
17 |
outputs="text",
|
18 |
title="Whisper Small Turkish",
|
19 |
description="Realtime demo for Turkish speech recognition using a fine-tuned Whisper small model.",
|
requirements.txt
CHANGED
@@ -3,6 +3,7 @@ gradio
|
|
3 |
torch
|
4 |
torchvision
|
5 |
torchaudio
|
|
|
6 |
datasets
|
7 |
accelerate
|
8 |
soundfile
|
|
|
3 |
torch
|
4 |
torchvision
|
5 |
torchaudio
|
6 |
+
|
7 |
datasets
|
8 |
accelerate
|
9 |
soundfile
|