Spaces:
Running
Running
Upload convert_url_to_diffusers_sd_gr.py
Browse files
convert_url_to_diffusers_sd_gr.py
CHANGED
|
@@ -310,6 +310,7 @@ def create_diffusers_repo(new_repo_id, diffusers_folder, progress=gr.Progress(tr
|
|
| 310 |
url = f"https://huggingface.co/{new_repo_id}"
|
| 311 |
except Exception as e:
|
| 312 |
print(f"Error: Failed to upload to {new_repo_id}. ")
|
|
|
|
| 313 |
return ""
|
| 314 |
return url
|
| 315 |
|
|
|
|
| 310 |
url = f"https://huggingface.co/{new_repo_id}"
|
| 311 |
except Exception as e:
|
| 312 |
print(f"Error: Failed to upload to {new_repo_id}. ")
|
| 313 |
+
print(e)
|
| 314 |
return ""
|
| 315 |
return url
|
| 316 |
|