Maikou commited on
Commit
190a2a3
1 Parent(s): 38536e4
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -29,19 +29,22 @@ viewer = PyThreeJSViewer(settings={}, render_mode="WEBSITE")
29
 
30
  image_model_config_dict = OrderedDict({
31
  "ASLDM-256-obj": {
32
- "config": "./configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
33
- "ckpt_path": "./checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
 
 
34
  },
35
  })
36
 
37
  text_model_config_dict = OrderedDict({
38
  "ASLDM-256": {
39
- "config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
40
- "ckpt_path": "./checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
 
 
41
  },
42
  })
43
 
44
-
45
  class InferenceModel(object):
46
  model = None
47
  name = ""
 
29
 
30
  image_model_config_dict = OrderedDict({
31
  "ASLDM-256-obj": {
32
+ # "config": "./configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
33
+ # "ckpt_path": "./checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
34
+ "config": "https://huggingface.co/spaces/Maikou/Michelangelo/tree/main/configs/image_cond_diffuser_asl/image-ASLDM-256.yaml",
35
+ "ckpt_path": "https://huggingface.co/spaces/Maikou/Michelangelo/tree/main/checkpoints/image_cond_diffuser_asl/image-ASLDM-256.ckpt",
36
  },
37
  })
38
 
39
  text_model_config_dict = OrderedDict({
40
  "ASLDM-256": {
41
+ # "config": "./configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
42
+ # "ckpt_path": "./checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
43
+ "config": "https://huggingface.co/spaces/Maikou/Michelangelo/tree/main/configs/text_cond_diffuser_asl/text-ASLDM-256.yaml",
44
+ "ckpt_path": "https://huggingface.co/spaces/Maikou/Michelangelo/tree/main/checkpoints/text_cond_diffuser_asl/text-ASLDM-256.ckpt",
45
  },
46
  })
47
 
 
48
  class InferenceModel(object):
49
  model = None
50
  name = ""