Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from gliner import GLiNER
|
|
| 8 |
import gradio as gr
|
| 9 |
|
| 10 |
# Load transcription models
|
| 11 |
-
whisper_pipeline_agri = pipeline("automatic-speech-recognition", model="maliahson/
|
| 12 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 13 |
|
| 14 |
# Initialize GLiNER for information extraction
|
|
|
|
| 8 |
import gradio as gr
|
| 9 |
|
| 10 |
# Load transcription models
|
| 11 |
+
whisper_pipeline_agri = pipeline("automatic-speech-recognition", model="maliahson/Finetuned_Whisper_Medium_Model_2")
|
| 12 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 13 |
|
| 14 |
# Initialize GLiNER for information extraction
|