Spaces:
Runtime error
Runtime error
Commit
Β·
438c1f2
1
Parent(s):
cc53bc5
Update app.py (#3)
Browse files- Update app.py (457bbed718e9dba09ef12022f6582ee1e07a7e2e)
Co-authored-by: oat <[email protected]>
app.py
CHANGED
@@ -11,7 +11,7 @@ from diffusers import StableDiffusionImg2ImgPipeline
|
|
11 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
12 |
|
13 |
device = "cuda"
|
14 |
-
MODEL_ID = "spaceinvader/
|
15 |
pipe = StableDiffusionPipeline.from_pretrained(MODEL_ID, torch_dtype=torch.float16)
|
16 |
pipe = pipe.to(device)
|
17 |
pipe2 = StableDiffusionImg2ImgPipeline.from_pretrained(MODEL_ID, torch_dtype=torch.float16)
|
|
|
11 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
12 |
|
13 |
device = "cuda"
|
14 |
+
MODEL_ID = "spaceinvader/text2fart"
|
15 |
pipe = StableDiffusionPipeline.from_pretrained(MODEL_ID, torch_dtype=torch.float16)
|
16 |
pipe = pipe.to(device)
|
17 |
pipe2 = StableDiffusionImg2ImgPipeline.from_pretrained(MODEL_ID, torch_dtype=torch.float16)
|