Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ class_options = {
|
|
| 30 |
"misophonia": ["chewing", "breathing", "mouthsounds", "popping", "sneezing", "yawning", "smacking", "sniffling", "panting"]
|
| 31 |
}
|
| 32 |
|
| 33 |
-
pipe = pipeline("automatic-speech-recognition")
|
| 34 |
|
| 35 |
# Create a Gradio interface with audio file and text inputs
|
| 36 |
def classify_toxicity(audio_file, text_input, classify_anxiety):
|
|
|
|
| 30 |
"misophonia": ["chewing", "breathing", "mouthsounds", "popping", "sneezing", "yawning", "smacking", "sniffling", "panting"]
|
| 31 |
}
|
| 32 |
|
| 33 |
+
pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large")
|
| 34 |
|
| 35 |
# Create a Gradio interface with audio file and text inputs
|
| 36 |
def classify_toxicity(audio_file, text_input, classify_anxiety):
|