Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -414,7 +414,7 @@ with gr.Blocks(css=css) as demo:
|
|
414 |
)
|
415 |
|
416 |
ip_adapter_strength = gr.Slider(
|
417 |
-
label="
|
418 |
minimum=0.0,
|
419 |
maximum=1.0,
|
420 |
value=0.5,
|
@@ -443,8 +443,8 @@ with gr.Blocks(css=css) as demo:
|
|
443 |
)
|
444 |
# --------------------------------------------------------------------------------------
|
445 |
|
446 |
-
gr.Examples(examples=examples, inputs=[prompt], label="
|
447 |
-
gr.Examples(examples=examples_negative, inputs=[negative_prompt])
|
448 |
|
449 |
run_button = gr.Button("Run", scale=1, variant="primary")
|
450 |
result = gr.Image(label="Result", show_label=False)
|
@@ -478,4 +478,3 @@ with gr.Blocks(css=css) as demo:
|
|
478 |
|
479 |
if __name__ == "__main__":
|
480 |
demo.launch()
|
481 |
-
|
|
|
414 |
)
|
415 |
|
416 |
ip_adapter_strength = gr.Slider(
|
417 |
+
label="IP_Adapter Strength",
|
418 |
minimum=0.0,
|
419 |
maximum=1.0,
|
420 |
value=0.5,
|
|
|
443 |
)
|
444 |
# --------------------------------------------------------------------------------------
|
445 |
|
446 |
+
gr.Examples(examples=examples, inputs=[prompt], label="Examples for prompt:")
|
447 |
+
gr.Examples(examples=examples_negative, inputs=[negative_prompt], label="Examples for negative prompt:")
|
448 |
|
449 |
run_button = gr.Button("Run", scale=1, variant="primary")
|
450 |
result = gr.Image(label="Result", show_label=False)
|
|
|
478 |
|
479 |
if __name__ == "__main__":
|
480 |
demo.launch()
|
|