Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,8 @@ audio_mode = []
|
|
40 |
f0method_mode = []
|
41 |
f0method_info = ""
|
42 |
|
|
|
|
|
43 |
if force_support is False or spaces is True:
|
44 |
if spaces is True:
|
45 |
audio_mode = ["Upload audio"]
|
|
|
40 |
f0method_mode = []
|
41 |
f0method_info = ""
|
42 |
|
43 |
+
torch.serialization.add_safe_globals([dictionary.Dictionary])
|
44 |
+
|
45 |
if force_support is False or spaces is True:
|
46 |
if spaces is True:
|
47 |
audio_mode = ["Upload audio"]
|