Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|