Flo161 commited on
Commit
7203681
·
1 Parent(s): 25687f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,6 +4,6 @@ import streamlit as st
4
 
5
  pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16)
6
  pipeline.to("cuda")
7
- pipeline("An image of a squirrel in Picasso style").images[0]
8
 
9
- st.image(pipeline)
 
4
 
5
  pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16)
6
  pipeline.to("cuda")
7
+ image = pipeline("An image of a squirrel in Picasso style").images[0]
8
 
9
+ st.image(image, caption="Image")