tonyassi commited on
Commit
9f03f83
1 Parent(s): 92f8cc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,16 +10,18 @@ with gr.Blocks() as demo:
10
  with gr.Tab("Text-to-Image"):
11
  text_ip = gr.Image(label='IP-Adapter Image')
12
  text_textbox = gr.Textbox(label='Prompt')
13
- text_ip_scale = gr.Slider(0.0, 1.0, value=0.6, label="IP-Adapter Scale", info="0.0 text prompt\n 1.0 ip prompt"),
14
  text_button = gr.Button("Generate")
15
  with gr.Tab("Image-to-Image"):
16
  image_ip = gr.Image(label='IP-Adapter Image')
17
  image_image = gr.Image(label='Image')
18
  image_textbox = gr.Textbox(label='Prompt')
 
19
  image_button = gr.Button("Generate")
20
  with gr.Tab("Inpainting"):
21
  inpaint_ip = gr.Image(label='IP-Adapter Image')
22
  inpaint_editor = gr.ImageEditor(label='Image + Mask')
 
23
  inpaint_button = gr.Button("Generate")
24
  output_image = gr.Image(label='Result')
25
 
 
10
  with gr.Tab("Text-to-Image"):
11
  text_ip = gr.Image(label='IP-Adapter Image')
12
  text_textbox = gr.Textbox(label='Prompt')
13
+ text_ip_scale = gr.Slider(0.0, 1.0, value=0.6, label="IP-Adapter Scale"),
14
  text_button = gr.Button("Generate")
15
  with gr.Tab("Image-to-Image"):
16
  image_ip = gr.Image(label='IP-Adapter Image')
17
  image_image = gr.Image(label='Image')
18
  image_textbox = gr.Textbox(label='Prompt')
19
+ image_ip_scale = gr.Slider(0.0, 1.0, value=0.6, label="IP-Adapter Scale"),
20
  image_button = gr.Button("Generate")
21
  with gr.Tab("Inpainting"):
22
  inpaint_ip = gr.Image(label='IP-Adapter Image')
23
  inpaint_editor = gr.ImageEditor(label='Image + Mask')
24
+ inpaint_ip_scale = gr.Slider(0.0, 1.0, value=0.6, label="IP-Adapter Scale"),
25
  inpaint_button = gr.Button("Generate")
26
  output_image = gr.Image(label='Result')
27