Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def load_models(model_in):
|
|
| 9 |
loaded_model=[]
|
| 10 |
model_details=[]
|
| 11 |
|
| 12 |
-
if "/" in
|
| 13 |
similar_models = api.list_models(search=model_in.split("/")[1],limit=100,cardData=True)
|
| 14 |
else:
|
| 15 |
similar_models = api.list_models(search=model_in,limit=100,cardData=True)
|
|
|
|
| 9 |
loaded_model=[]
|
| 10 |
model_details=[]
|
| 11 |
|
| 12 |
+
if "/" in model_in:
|
| 13 |
similar_models = api.list_models(search=model_in.split("/")[1],limit=100,cardData=True)
|
| 14 |
else:
|
| 15 |
similar_models = api.list_models(search=model_in,limit=100,cardData=True)
|