PayPeer commited on
Commit
fe9256f
β€’
1 Parent(s): e985265

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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
- ## Unofficial Demo
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("cuda")
185
  results = pipe(
186
- prompt="A cinematic shot of a baby racoon wearing an intricate italian priest robe",
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
  )