Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,2 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 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()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|