Spaces:
Paused
Paused
Commit
·
4e9cb7f
1
Parent(s):
81bb71f
dict debug
Browse files
app.py
CHANGED
|
@@ -595,7 +595,8 @@ def synthandreturn(text):
|
|
| 595 |
print("[debug] Using", mdl1, mdl2)
|
| 596 |
def predict_and_update_result(text, model, result_storage):
|
| 597 |
try:
|
| 598 |
-
if model in AVAILABLE_MODELS:
|
|
|
|
| 599 |
model_args = {
|
| 600 |
'moe': (
|
| 601 |
text,
|
|
|
|
| 595 |
print("[debug] Using", mdl1, mdl2)
|
| 596 |
def predict_and_update_result(text, model, result_storage):
|
| 597 |
try:
|
| 598 |
+
# if model in AVAILABLE_MODELS:
|
| 599 |
+
if model in model_kwargs:
|
| 600 |
model_args = {
|
| 601 |
'moe': (
|
| 602 |
text,
|