tonyassi commited on
Commit
bbd803b
·
verified ·
1 Parent(s): 18b8a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -136,7 +136,7 @@ with gr.Blocks() as demo:
136
  label='Text-to-Image Example'
137
  )
138
 
139
- """
140
  gr.Examples(
141
  [["./images/img1.jpg", "./images/tony.jpg", "photo", "ugly, deformed, nsfw", 1024, 1024, 0.8, 0.7, 7.5, 75]],
142
  [image_ip, image_image, image_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider],
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
145
  cache_examples=True,
146
  label='Image-to-Image Example'
147
  )
148
- """
149
 
150
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)
151
  image_button.click(image_to_image, inputs=[image_ip, image_image, image_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)
 
136
  label='Text-to-Image Example'
137
  )
138
 
139
+
140
  gr.Examples(
141
  [["./images/img1.jpg", "./images/tony.jpg", "photo", "ugly, deformed, nsfw", 1024, 1024, 0.8, 0.7, 7.5, 75]],
142
  [image_ip, image_image, image_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider],
 
145
  cache_examples=True,
146
  label='Image-to-Image Example'
147
  )
148
+
149
 
150
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)
151
  image_button.click(image_to_image, inputs=[image_ip, image_image, image_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)