Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,9 +30,11 @@ def generate_image(prompt, option):
|
|
| 30 |
return pipe(prompt, num_inference_steps=step, guidance_scale=0).images[0]
|
| 31 |
|
| 32 |
with gr.Blocks() as demo:
|
| 33 |
-
gr.HTML(
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
| 36 |
|
| 37 |
with gr.Group():
|
| 38 |
with gr.Row():
|
|
|
|
| 30 |
return pipe(prompt, num_inference_steps=step, guidance_scale=0).images[0]
|
| 31 |
|
| 32 |
with gr.Blocks() as demo:
|
| 33 |
+
gr.HTML(
|
| 34 |
+
"<h1><center>SDXL-Lightning</center></h1>" +
|
| 35 |
+
"<p><center>Lightning-fast text-to-image generation.</center></p>" +
|
| 36 |
+
"<p><center><a href='https://huggingface.co/ByteDance/SDXL-Lightning'>https://huggingface.co/ByteDance/SDXL-Lightning</a></center></p>"
|
| 37 |
+
)
|
| 38 |
|
| 39 |
with gr.Group():
|
| 40 |
with gr.Row():
|