Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from transformers import pipeline
|
| 3 |
+
|
| 4 |
+
ASRPipeline = pipeline(task="automatic-speech-recognition", model="dreahim/whisper-small-Egyptian_ASR_3train_2dev_v1")
|
| 5 |
+
|
| 6 |
+
gr.Interface.from_pipeline(ASRPipeline).launch()
|