Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import os
|
|
| 8 |
# بارگذاری مدل Whisper
|
| 9 |
# -----------------------------
|
| 10 |
print("🎧 Loading Whisper model (base)...")
|
| 11 |
-
model = whisper.load_model("
|
| 12 |
|
| 13 |
# -----------------------------
|
| 14 |
# تابع پردازش ویدیو و تبدیل به متن
|
|
|
|
| 8 |
# بارگذاری مدل Whisper
|
| 9 |
# -----------------------------
|
| 10 |
print("🎧 Loading Whisper model (base)...")
|
| 11 |
+
model = whisper.load_model("large-v3") # میتوانید "small", "medium", یا "large" هم بگذارید
|
| 12 |
|
| 13 |
# -----------------------------
|
| 14 |
# تابع پردازش ویدیو و تبدیل به متن
|