fffiloni commited on
Commit
314ced7
1 Parent(s): 5953e9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(css=css) as demo:
165
  if is_shared_ui:
166
 
167
  your_username = api.whoami()["name"]
168
- my_models = api.list_models(author=your_username, filter=["diffusers", "stable-diffusion-xl", 'lora'])
169
  print(my_models)
170
 
171
  lora_1_id = gr.Dropdown(
 
165
  if is_shared_ui:
166
 
167
  your_username = api.whoami()["name"]
168
+ my_models = api.list_models(author=your_username, filter=["diffusers", "stable-diffusion-xl", 'lora'])["Model Name"]
169
  print(my_models)
170
 
171
  lora_1_id = gr.Dropdown(