Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,8 @@ def get_my_model_names(token):
|
|
30 |
if has_diffusion_model(model_id, token):
|
31 |
model_names.append(model_id)
|
32 |
|
33 |
-
if not model_names:
|
34 |
-
|
35 |
|
36 |
return model_names, None
|
37 |
|
|
|
30 |
if has_diffusion_model(model_id, token):
|
31 |
model_names.append(model_id)
|
32 |
|
33 |
+
# if not model_names:
|
34 |
+
# return [], Exception("No diffusion models found in your account.")
|
35 |
|
36 |
return model_names, None
|
37 |
|