Delete app.py
Browse files
app.py
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
from diffusers import DiffusionPipeline
|
2 |
-
|
3 |
-
pipeline = DiffusionPipeline.from_pretrained("miliyas/practise")
|
4 |
-
|
5 |
-
from diffusers import AutoPipelineForText2Image
|
6 |
-
import torch
|
7 |
-
|
8 |
-
pipeline = AutoPipelineForText2Image.from_pretrained(
|
9 |
-
"runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16
|
10 |
-
).to("cuda")
|
11 |
-
image = pipeline(
|
12 |
-
prompt="Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
13 |
-
negative_prompt="ugly, deformed, disfigured, poor details, bad anatomy",
|
14 |
-
).images[0]
|
15 |
-
image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|