Update app.py
Browse files
app.py
CHANGED
|
@@ -830,7 +830,7 @@ def create_demo():
|
|
| 830 |
|
| 831 |
with gr.Row():
|
| 832 |
with gr.Column():
|
| 833 |
-
prompt = gr.Textbox(label="Prompt", value="a photo of a forest with mist swirling around the tree trunks. The word 'FLUX' is painted over it in big, red brush strokes with visible texture")
|
| 834 |
|
| 835 |
width = gr.Slider(minimum=128, maximum=2048, step=64, label="Width", value=1360)
|
| 836 |
height = gr.Slider(minimum=128, maximum=2048, step=64, label="Height", value=768)
|
|
@@ -843,7 +843,7 @@ def create_demo():
|
|
| 843 |
value=30,
|
| 844 |
)
|
| 845 |
seed = gr.Number(label="Seed", precision=-1)
|
| 846 |
-
do_img2img = gr.Checkbox(label="Image to Image", value=
|
| 847 |
init_image = gr.Image(label="Input Image", visible=False)
|
| 848 |
image2image_strength = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label="Noising strength", value=0.8, visible=False)
|
| 849 |
resize_img = gr.Checkbox(label="Resize image", value=True, visible=False)
|
|
|
|
| 830 |
|
| 831 |
with gr.Row():
|
| 832 |
with gr.Column():
|
| 833 |
+
prompt = gr.Textbox(label="Prompt(νκΈ κ°λ₯)", value="a photo of a forest with mist swirling around the tree trunks. The word 'FLUX' is painted over it in big, red brush strokes with visible texture")
|
| 834 |
|
| 835 |
width = gr.Slider(minimum=128, maximum=2048, step=64, label="Width", value=1360)
|
| 836 |
height = gr.Slider(minimum=128, maximum=2048, step=64, label="Height", value=768)
|
|
|
|
| 843 |
value=30,
|
| 844 |
)
|
| 845 |
seed = gr.Number(label="Seed", precision=-1)
|
| 846 |
+
do_img2img = gr.Checkbox(label="Image to Image", value=False)
|
| 847 |
init_image = gr.Image(label="Input Image", visible=False)
|
| 848 |
image2image_strength = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label="Noising strength", value=0.8, visible=False)
|
| 849 |
resize_img = gr.Checkbox(label="Resize image", value=True, visible=False)
|