Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ 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_button = gr.Button("Generate")
|
14 |
with gr.Tab("Image-to-Image"):
|
15 |
image_ip = gr.Image(label='IP-Adapter Image')
|
|
|
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 is text prompt. 1.0 is image prompt."),
|
14 |
text_button = gr.Button("Generate")
|
15 |
with gr.Tab("Image-to-Image"):
|
16 |
image_ip = gr.Image(label='IP-Adapter Image')
|