Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ def get_random_values(my_dict):
|
|
34 |
return kind
|
35 |
|
36 |
model_repo_id = "runwayml/stable-diffusion-v1-5"
|
37 |
-
medsegfactory_id = "JohnWeck/StableDiffusion
|
38 |
-
filename = 'checkpoint.pth'
|
39 |
|
40 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
41 |
text_encoder = CLIPTextModel.from_pretrained(model_repo_id, subfolder="text_encoder")
|
|
|
34 |
return kind
|
35 |
|
36 |
model_repo_id = "runwayml/stable-diffusion-v1-5"
|
37 |
+
medsegfactory_id = "JohnWeck/StableDiffusion"
|
38 |
+
filename = 'checkpoint-300.pth'
|
39 |
|
40 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
41 |
text_encoder = CLIPTextModel.from_pretrained(model_repo_id, subfolder="text_encoder")
|