fffiloni commited on
Commit
0a6c4eb
·
1 Parent(s): b0898d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -7,9 +7,5 @@ device = "cuda:0" if torch.cuda.is_available() else "cpu"
7
  pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN, revision="fp16", torch_dtype=torch.float16)
8
  pipe.to(device)
9
 
10
- prompt = "a photograph of an astronaut riding a horse"
11
 
12
- image = pipe(prompt)["sample"][0]
13
-
14
- result = pipe(prompt)
15
- print(result)
 
7
  pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN, revision="fp16", torch_dtype=torch.float16)
8
  pipe.to(device)
9
 
 
10
 
11
+ print("hello")