Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -497,6 +497,7 @@ def synthandreturn(text):
|
|
497 |
log_text(text)
|
498 |
print("[debug] Using", mdl1, mdl2)
|
499 |
def predict_and_update_result(text, model, result_storage):
|
|
|
500 |
result = router.predict(text, AVAILABLE_MODELS[model].lower(), api_name="/synthesize")
|
501 |
print('Done with', model)
|
502 |
result_storage[model] = result
|
|
|
497 |
log_text(text)
|
498 |
print("[debug] Using", mdl1, mdl2)
|
499 |
def predict_and_update_result(text, model, result_storage):
|
500 |
+
print('Trying with', model, 'Using', AVAILABLE_MODELS[model])
|
501 |
result = router.predict(text, AVAILABLE_MODELS[model].lower(), api_name="/synthesize")
|
502 |
print('Done with', model)
|
503 |
result_storage[model] = result
|