Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -605,6 +605,7 @@ def synthandreturn(text):
|
|
605 |
except:
|
606 |
pass
|
607 |
if model in AVAILABLE_MODELS.keys(): model = AVAILABLE_MODELS[model]
|
|
|
608 |
result_storage[model] = result
|
609 |
# try:
|
610 |
# doloudnorm(result)
|
@@ -630,6 +631,7 @@ def synthandreturn(text):
|
|
630 |
# outputs = [text, btn, r2, model1, model2, aud1, aud2, abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
|
631 |
mdl1k = mdl1
|
632 |
mdl2k = mdl2
|
|
|
633 |
if mdl1 in AVAILABLE_MODELS.keys(): mdl1k=AVAILABLE_MODELS[mdl1]
|
634 |
if mdl2 in AVAILABLE_MODELS.keys(): mdl2k=AVAILABLE_MODELS[mdl2]
|
635 |
|
|
|
605 |
except:
|
606 |
pass
|
607 |
if model in AVAILABLE_MODELS.keys(): model = AVAILABLE_MODELS[model]
|
608 |
+
print(model)
|
609 |
result_storage[model] = result
|
610 |
# try:
|
611 |
# doloudnorm(result)
|
|
|
631 |
# outputs = [text, btn, r2, model1, model2, aud1, aud2, abetter, bbetter, prevmodel1, prevmodel2, nxtroundbtn]
|
632 |
mdl1k = mdl1
|
633 |
mdl2k = mdl2
|
634 |
+
print(mdl1k, mdl2k)
|
635 |
if mdl1 in AVAILABLE_MODELS.keys(): mdl1k=AVAILABLE_MODELS[mdl1]
|
636 |
if mdl2 in AVAILABLE_MODELS.keys(): mdl2k=AVAILABLE_MODELS[mdl2]
|
637 |
|