Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,11 +70,11 @@ def init_detector():
|
|
| 70 |
global detector
|
| 71 |
try:
|
| 72 |
detector = HybridEnsembleDetector(
|
| 73 |
-
deepfake_model_path=
|
| 74 |
whisper_model_path="openai/whisper-base",
|
| 75 |
physics_weight=0.4,
|
| 76 |
dl_weight=0.6,
|
| 77 |
-
use_local_deepfake_model=
|
| 78 |
use_local_whisper_model=False,
|
| 79 |
calibration_path=CALIBRATION_PATH,
|
| 80 |
max_audio_duration=30
|
|
|
|
| 70 |
global detector
|
| 71 |
try:
|
| 72 |
detector = HybridEnsembleDetector(
|
| 73 |
+
deepfake_model_path="garystafford/wav2vec2-deepfake-voice-detector",
|
| 74 |
whisper_model_path="openai/whisper-base",
|
| 75 |
physics_weight=0.4,
|
| 76 |
dl_weight=0.6,
|
| 77 |
+
use_local_deepfake_model=False,
|
| 78 |
use_local_whisper_model=False,
|
| 79 |
calibration_path=CALIBRATION_PATH,
|
| 80 |
max_audio_duration=30
|