chitsanfei commited on
Commit
605b269
·
verified ·
1 Parent(s): 42646d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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"]