Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from diffusers import AutoPipelineForText2Image
|
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3.1-aesthetic",
|
6 |
-
torch_dtype=torch.float16,USE_SAFETENSORS=True).to("cuda")
|
7 |
|
8 |
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
9 |
image = pipe(prompt).images[0]
|
|
|
3 |
from diffusers import DiffusionPipeline
|
4 |
|
5 |
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3.1-aesthetic",
|
6 |
+
torch_dtype=torch.float16,USE_SAFETENSORS=True).to("cuda")
|
7 |
|
8 |
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
9 |
image = pipe(prompt).images[0]
|