Hunzla commited on
Commit
9ca6df2
·
1 Parent(s): e9bd980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -1,12 +1,2 @@
1
  import gradio as gr
2
- def transcribe:
3
- gr.Interface.load("models/dima806/speech-accent-classification").launch()
4
- iface = gr.Interface(
5
- fn=transcribe,
6
- inputs=gr.Audio(source="microphone", type="filepath"),
7
- outputs="text",
8
- title="Whisper Small Hindi",
9
- description="Realtime demo for Hindi speech recognition using a fine-tuned Whisper small model.",
10
- )
11
-
12
- iface.launch()
 
1
  import gradio as gr
2
+ gr.Interface.load("models/dima806/speech-accent-classification").launch()