Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,4 +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]
|
|
|
|
|
|
|
|
|
| 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)
|