Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,8 @@ def call_search(purpose, task, history, action_input):
|
|
| 53 |
if action_input != "" and action_input != None:
|
| 54 |
action_input.strip('""')
|
| 55 |
#model_list = api.list_models(filter=f"{action_input}",sort="last_modified",limit=1000,direction=-1)
|
| 56 |
-
model_list = api.list_models(filter=f"{action_input}",limit=1000)
|
|
|
|
| 57 |
this_obj = list(model_list)
|
| 58 |
print(f'THIS_OBJ :: {this_obj[0]}')
|
| 59 |
for i,eb in enumerate(this_obj):
|
|
|
|
| 53 |
if action_input != "" and action_input != None:
|
| 54 |
action_input.strip('""')
|
| 55 |
#model_list = api.list_models(filter=f"{action_input}",sort="last_modified",limit=1000,direction=-1)
|
| 56 |
+
#model_list = api.list_models(filter=f"{action_input}",limit=1000)
|
| 57 |
+
model_list = api.list_models(filter=f"{action_input}")
|
| 58 |
this_obj = list(model_list)
|
| 59 |
print(f'THIS_OBJ :: {this_obj[0]}')
|
| 60 |
for i,eb in enumerate(this_obj):
|