Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,10 @@ css="""
|
|
93 |
with gr.Blocks(css=css) as demo:
|
94 |
|
95 |
with gr.Column(elem_id="col-container"):
|
96 |
-
gr.Markdown(f"""# Flex.2 Preview -
|
|
|
|
|
|
|
97 |
""")
|
98 |
with gr.Row():
|
99 |
with gr.Column():
|
@@ -147,12 +150,6 @@ with gr.Blocks(css=css) as demo:
|
|
147 |
outputs = [result, seed]
|
148 |
)
|
149 |
|
150 |
-
|
151 |
-
# gr.on(
|
152 |
-
# triggers=[run_button.click, prompt.submit],
|
153 |
-
# fn = infer,
|
154 |
-
# inputs = [edit_image, prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
|
155 |
-
# outputs = [result, seed]
|
156 |
-
# )
|
157 |
|
158 |
demo.launch()
|
|
|
93 |
with gr.Blocks(css=css) as demo:
|
94 |
|
95 |
with gr.Column(elem_id="col-container"):
|
96 |
+
gr.Markdown(f"""# Flex.2 Preview - Inpaint
|
97 |
+
Inpainting demo for Flex.2 Preview - Open Source 8B parameter Text to Image Diffusion Model with universal control and built-in inpainting support
|
98 |
+
trained and devloped by [ostris](https://huggingface.co/ostris)
|
99 |
+
[[apache-2.0 license](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md)] [[model](https://huggingface.co/ostris/Flex.2-preview)]
|
100 |
""")
|
101 |
with gr.Row():
|
102 |
with gr.Column():
|
|
|
150 |
outputs = [result, seed]
|
151 |
)
|
152 |
|
153 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
demo.launch()
|