Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ def load_models(model_in):
|
|
20 |
similar_models = api.list_models(search=model_in,limit=100,cardData=True)
|
21 |
for model in similar_models:
|
22 |
try:
|
23 |
-
model_load=gr.load(f'models/{model.id}')
|
|
|
24 |
sys.stdout = print(model_load)
|
25 |
#print(model_load)
|
26 |
#out_test=model_load("hello?")
|
|
|
20 |
similar_models = api.list_models(search=model_in,limit=100,cardData=True)
|
21 |
for model in similar_models:
|
22 |
try:
|
23 |
+
model_load=gr.load(f'models/{model.id}',cache_examples=False)
|
24 |
+
print(model_load)
|
25 |
sys.stdout = print(model_load)
|
26 |
#print(model_load)
|
27 |
#out_test=model_load("hello?")
|