multimodalart HF staff commited on
Commit
dc81866
1 Parent(s): 6da6b11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -64,12 +64,19 @@ def run_comparison(prompt):
64
  return image_turbo, image_lightning, image_hyper
65
 
66
  with gr.Blocks() as demo:
 
67
  prompt = gr.Textbox(label="Prompt")
68
  run = gr.Button("Run")
69
  with gr.Row():
70
- image_turbo = gr.Image(label="SDXL Turbo")
71
- image_lightning = gr.Image(label="SDXL Lightning")
72
- image_hyper = gr.Image(label="Hyper SDXL")
 
 
 
 
 
 
73
 
74
  run.click(fn=run_comparison, inputs=prompt, outputs=[image_turbo, image_lightning, image_hyper])
75
  demo.launch()
 
64
  return image_turbo, image_lightning, image_hyper
65
 
66
  with gr.Blocks() as demo:
67
+ gr.Markdown("## One step SDXL comparison 🦶")
68
  prompt = gr.Textbox(label="Prompt")
69
  run = gr.Button("Run")
70
  with gr.Row():
71
+ with gr.Column():
72
+ image_turbo = gr.Image(label="SDXL Turbo")
73
+ gr.Markdown("## [SDXL Turbo](https://huggingface.co/stabilityai/sdxl-turbo)")
74
+ with gr.Column():
75
+ image_lightning = gr.Image(label="SDXL Lightning")
76
+ gr.Markdown("## [SDXL Lightning](https://huggingface.co/ByteDance/SDXL-Lightning)")
77
+ with gr.Column():
78
+ image_hyper = gr.Image(label="Hyper SDXL")
79
+ gr.Markdown("## [Hyper SDXL](https://huggingface.co/ByteDance/Hyper-SD)")
80
 
81
  run.click(fn=run_comparison, inputs=prompt, outputs=[image_turbo, image_lightning, image_hyper])
82
  demo.launch()