Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ import gradio as gr
|
|
32 |
from vocos import Vocos
|
33 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
34 |
|
35 |
-
|
36 |
|
37 |
torch._C._jit_set_profiling_executor(False)
|
38 |
torch._C._jit_set_profiling_mode(False)
|
|
|
32 |
from vocos import Vocos
|
33 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
34 |
|
35 |
+
torch.serialization.add_safe_globals([pathlib.WindowsPath])
|
36 |
|
37 |
torch._C._jit_set_profiling_executor(False)
|
38 |
torch._C._jit_set_profiling_mode(False)
|