Yjiggfghhjnjj commited on
Commit
371d6bc
1 Parent(s): d8e7f41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,7 +100,7 @@ def run_comparison(prompt: str,
100
  cross_attention_kwargs={"scale": 0.65},
101
  output_type="pil",
102
  ).images
103
- image_paths_r5 = [save_image(img) for img in image_r4]
104
  return image_paths_r3, image_paths_r4,image_paths_r5, seed
105
 
106
  examples = ["A dignified beaver wearing glasses, a vest, and colorful neck tie.",
@@ -186,7 +186,7 @@ with gr.Blocks() as demo:
186
  with gr.Column():
187
  image_r5 = gr.Gallery(label="Playground v2.5",columns=1, preview=True,)
188
  gr.Markdown("## [Playground v2.5](https://huggingface.co)")
189
- image_outputs = [image_r3, image_r4, play_pipe]
190
  gr.on(
191
  triggers=[prompt.submit, run.click],
192
  fn=run_comparison,
 
100
  cross_attention_kwargs={"scale": 0.65},
101
  output_type="pil",
102
  ).images
103
+ image_paths_r5 = [save_image(img) for img in image_r5]
104
  return image_paths_r3, image_paths_r4,image_paths_r5, seed
105
 
106
  examples = ["A dignified beaver wearing glasses, a vest, and colorful neck tie.",
 
186
  with gr.Column():
187
  image_r5 = gr.Gallery(label="Playground v2.5",columns=1, preview=True,)
188
  gr.Markdown("## [Playground v2.5](https://huggingface.co)")
189
+ image_outputs = [image_r3, image_r4, image_r5]
190
  gr.on(
191
  triggers=[prompt.submit, run.click],
192
  fn=run_comparison,