Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ with gr.Blocks(css=css) as demo:
|
|
164 |
|
165 |
with gr.Column():
|
166 |
|
167 |
-
if is_shared_ui:
|
168 |
|
169 |
your_username = api.whoami()["name"]
|
170 |
my_models = api.list_models(author=your_username, filter=["diffusers", "stable-diffusion-xl", 'lora'])
|
|
|
164 |
|
165 |
with gr.Column():
|
166 |
|
167 |
+
if not is_shared_ui:
|
168 |
|
169 |
your_username = api.whoami()["name"]
|
170 |
my_models = api.list_models(author=your_username, filter=["diffusers", "stable-diffusion-xl", 'lora'])
|