Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def load_models(model_in):
|
|
| 21 |
for model in similar_models:
|
| 22 |
|
| 23 |
try:
|
| 24 |
-
loaded_model.append(
|
| 25 |
except Exception as e:
|
| 26 |
loaded_model.append({"MODEL":model.id,"ERROR":e})
|
| 27 |
try:
|
|
|
|
| 21 |
for model in similar_models:
|
| 22 |
|
| 23 |
try:
|
| 24 |
+
loaded_model.append(gr.load(f'models/{model.id}',cache_examples=False).stdout)
|
| 25 |
except Exception as e:
|
| 26 |
loaded_model.append({"MODEL":model.id,"ERROR":e})
|
| 27 |
try:
|