Respect selected CB asset location
Browse files
app.py
CHANGED
|
@@ -496,8 +496,6 @@ def download_bucket_asset(url, kind, anima, password):
|
|
| 496 |
raise gr.Error("Enter a valid URL")
|
| 497 |
if kind not in MODEL_KINDS:
|
| 498 |
raise gr.Error("Invalid CB location")
|
| 499 |
-
if anima and kind == "checkpoints":
|
| 500 |
-
kind = "diffusion_models"
|
| 501 |
|
| 502 |
temp = None
|
| 503 |
try:
|
|
|
|
| 496 |
raise gr.Error("Enter a valid URL")
|
| 497 |
if kind not in MODEL_KINDS:
|
| 498 |
raise gr.Error("Invalid CB location")
|
|
|
|
|
|
|
| 499 |
|
| 500 |
temp = None
|
| 501 |
try:
|