Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -129,8 +129,7 @@ with gr.Blocks(css=css) as demo:
|
|
129 |
with gr.Column(elem_id="container"):
|
130 |
gr.Markdown(
|
131 |
"""# SDXL Turbo Image to Image/Text to Image
|
132 |
-
|
133 |
-
SDXL Turbo model can generate high quality images in a single pass read more on [stability.ai post](https://stability.ai/news/stability-ai-sdxl-turbo).
|
134 |
**Model**: https://huggingface.co/stabilityai/sdxl-turbo
|
135 |
""",
|
136 |
elem_id="intro",
|
@@ -181,9 +180,9 @@ with gr.Blocks(css=css) as demo:
|
|
181 |
|
182 |
pipe = DiffusionPipeline.from_pretrained(
|
183 |
"stabilityai/sdxl-turbo"
|
184 |
-
).to("
|
185 |
results = pipe(
|
186 |
-
prompt="A cinematic shot of a
|
187 |
num_inference_steps=1,
|
188 |
guidance_scale=0.0,
|
189 |
)
|
|
|
129 |
with gr.Column(elem_id="container"):
|
130 |
gr.Markdown(
|
131 |
"""# SDXL Turbo Image to Image/Text to Image
|
132 |
+
|
|
|
133 |
**Model**: https://huggingface.co/stabilityai/sdxl-turbo
|
134 |
""",
|
135 |
elem_id="intro",
|
|
|
180 |
|
181 |
pipe = DiffusionPipeline.from_pretrained(
|
182 |
"stabilityai/sdxl-turbo"
|
183 |
+
).to("cpu")
|
184 |
results = pipe(
|
185 |
+
prompt="A cinematic shot of a digital dolphin in a data pool",
|
186 |
num_inference_steps=1,
|
187 |
guidance_scale=0.0,
|
188 |
)
|