miliyas commited on
Commit
87afd98
·
verified ·
1 Parent(s): 44c76a4

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
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