Pendrokar commited on
Commit
1cd6967
β€’
1 Parent(s): f14288a

reload model before synthesis

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -73,6 +73,10 @@ def load_model():
73
  return
74
 
75
  def predict(input, pacing):
 
 
 
 
76
  model_type = 'xVAPitch'
77
  line = 'Test'
78
  pace = pacing if pacing else 1.0
 
73
  return
74
 
75
  def predict(input, pacing):
76
+
77
+ # reload model just in case
78
+ load_model()
79
+
80
  model_type = 'xVAPitch'
81
  line = 'Test'
82
  pace = pacing if pacing else 1.0