Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ def process_audio(audio_file, noise_strength, apply_bandpass,
|
|
| 92 |
return None, "⚠️ الرجاء رفع ملف صوتي أولاً."
|
| 93 |
|
| 94 |
# تحميل
|
| 95 |
-
audio, sr = load_audio(audio_file,
|
| 96 |
duration = len(audio) / sr
|
| 97 |
|
| 98 |
# تحليل قبل
|
|
|
|
| 92 |
return None, "⚠️ الرجاء رفع ملف صوتي أولاً."
|
| 93 |
|
| 94 |
# تحميل
|
| 95 |
+
audio, sr = load_audio(audio_file, sr=22050)
|
| 96 |
duration = len(audio) / sr
|
| 97 |
|
| 98 |
# تحليل قبل
|