Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
reload model before synthesis
Browse files
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
|