Spaces:
Running
on
Zero
Running
on
Zero
fix bug
Browse files- __pycache__/flux1_inpaint.cpython-310.pyc +0 -0
- app.py +2 -2
__pycache__/flux1_inpaint.cpython-310.pyc
ADDED
Binary file (1.68 kB). View file
|
|
app.py
CHANGED
@@ -64,7 +64,7 @@ with demo_blocks as demo:
|
|
64 |
image = gr.ImageEditor(height=1000,sources=['upload','clipboard'],transforms=[],image_mode='RGB', layers=False, elem_id="image_upload", type="pil", label="Upload",brush=gr.Brush(colors=["#999"], color_mode="fixed"))
|
65 |
with gr.Row(elem_id="prompt-container", equal_height=False):
|
66 |
with gr.Row():
|
67 |
-
prompt = gr.Textbox(label="Prompt",placeholder="Your prompt (what you want in place of what is erased)", elem_id="prompt")
|
68 |
|
69 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
70 |
negative_prompt = gr.Textbox(label="Negative Prompt",placeholder="negative prompt",value="worst quality", elem_id="negative_prompt")
|
@@ -77,7 +77,7 @@ with demo_blocks as demo:
|
|
77 |
edge_expand = gr.Number(value=8, minimum=0.0, maximum=20.0, step=1, label="Edge Expand")
|
78 |
with gr.Row(equal_height=True):
|
79 |
models = ["black-forest-labs/FLUX.1-schnell"]
|
80 |
-
inpaint_model = gr.Dropdown(label="modes", choices=models, value="
|
81 |
with gr.Column():
|
82 |
image_out = gr.Image(sources=[],label="Output", elem_id="output-img")
|
83 |
|
|
|
64 |
image = gr.ImageEditor(height=1000,sources=['upload','clipboard'],transforms=[],image_mode='RGB', layers=False, elem_id="image_upload", type="pil", label="Upload",brush=gr.Brush(colors=["#999"], color_mode="fixed"))
|
65 |
with gr.Row(elem_id="prompt-container", equal_height=False):
|
66 |
with gr.Row():
|
67 |
+
prompt = gr.Textbox(label="Prompt",value="a eyes closed girl,shut eyes",placeholder="Your prompt (what you want in place of what is erased)", elem_id="prompt")
|
68 |
|
69 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
70 |
negative_prompt = gr.Textbox(label="Negative Prompt",placeholder="negative prompt",value="worst quality", elem_id="negative_prompt")
|
|
|
77 |
edge_expand = gr.Number(value=8, minimum=0.0, maximum=20.0, step=1, label="Edge Expand")
|
78 |
with gr.Row(equal_height=True):
|
79 |
models = ["black-forest-labs/FLUX.1-schnell"]
|
80 |
+
inpaint_model = gr.Dropdown(label="modes", choices=models, value="black-forest-labs/FLUX.1-schnell")
|
81 |
with gr.Column():
|
82 |
image_out = gr.Image(sources=[],label="Output", elem_id="output-img")
|
83 |
|