Spaces:
Sleeping
Sleeping
Update process_interview.py
Browse files- process_interview.py +2 -1
process_interview.py
CHANGED
|
@@ -208,7 +208,8 @@ def transcribe(audio_path: str) -> Dict:
|
|
| 208 |
json={
|
| 209 |
"audio_url": audio_url,
|
| 210 |
"speaker_labels": True,
|
| 211 |
-
"filter_profanity": True
|
|
|
|
| 212 |
}
|
| 213 |
)
|
| 214 |
|
|
|
|
| 208 |
json={
|
| 209 |
"audio_url": audio_url,
|
| 210 |
"speaker_labels": True,
|
| 211 |
+
"filter_profanity": True,
|
| 212 |
+
"speech_model": "universal" # أو جربي "universal-2" إذا لم يعمل هذا
|
| 213 |
}
|
| 214 |
)
|
| 215 |
|