Spaces:
Runtime error
Runtime error
path
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ image_model_config_dict = OrderedDict({
|
|
33 |
# "config": "./configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
|
34 |
# "ckpt_path": "./checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
|
35 |
"config": "/home/user/app/configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
|
36 |
-
"ckpt_path": "image_cond_diffuser_asl/image-ASLDM-256.ckpt",
|
37 |
},
|
38 |
})
|
39 |
|
@@ -42,11 +42,11 @@ text_model_config_dict = OrderedDict({
|
|
42 |
# "config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
|
43 |
# "ckpt_path": "./checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
|
44 |
"config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
|
45 |
-
"ckpt_path": "text_cond_diffuser_asl/text-ASLDM-256.ckpt",
|
46 |
},
|
47 |
})
|
48 |
|
49 |
-
model_path = snapshot_download(repo_id="Maikou/Michelangelo
|
50 |
|
51 |
class InferenceModel(object):
|
52 |
model = None
|
|
|
33 |
# "config": "./configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
|
34 |
# "ckpt_path": "./checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
|
35 |
"config": "/home/user/app/configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
|
36 |
+
"ckpt_path": "checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
|
37 |
},
|
38 |
})
|
39 |
|
|
|
42 |
# "config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
|
43 |
# "ckpt_path": "./checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
|
44 |
"config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
|
45 |
+
"ckpt_path": "checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
|
46 |
},
|
47 |
})
|
48 |
|
49 |
+
model_path = snapshot_download(repo_id="Maikou/Michelangelo")
|
50 |
|
51 |
class InferenceModel(object):
|
52 |
model = None
|