Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ with gr.Blocks() as demo:
|
|
| 140 |
with gr.Row():
|
| 141 |
# -- Left Column: Settings --
|
| 142 |
with gr.Column(scale=1):
|
| 143 |
-
image_files_input = gr.
|
| 144 |
file_count="multiple",
|
| 145 |
file_types=["image"],
|
| 146 |
label="Input Images (Optional)",
|
|
@@ -179,7 +179,7 @@ with gr.Blocks() as demo:
|
|
| 179 |
with gr.Column(scale=1):
|
| 180 |
with gr.Group(elem_classes="output-card"):
|
| 181 |
output_image = gr.Image(
|
| 182 |
-
label="Generated Output", type="pil", interactive=False
|
| 183 |
)
|
| 184 |
used_seed_output = gr.Textbox(
|
| 185 |
label="Used Seed", interactive=False
|
|
@@ -237,4 +237,4 @@ with gr.Blocks() as demo:
|
|
| 237 |
)
|
| 238 |
|
| 239 |
if __name__ == "__main__":
|
| 240 |
-
demo.queue().launch(theme=
|
|
|
|
| 140 |
with gr.Row():
|
| 141 |
# -- Left Column: Settings --
|
| 142 |
with gr.Column(scale=1):
|
| 143 |
+
image_files_input = gr.Gallery(
|
| 144 |
file_count="multiple",
|
| 145 |
file_types=["image"],
|
| 146 |
label="Input Images (Optional)",
|
|
|
|
| 179 |
with gr.Column(scale=1):
|
| 180 |
with gr.Group(elem_classes="output-card"):
|
| 181 |
output_image = gr.Image(
|
| 182 |
+
label="Generated Output", type="pil", interactive=False, format="png",
|
| 183 |
)
|
| 184 |
used_seed_output = gr.Textbox(
|
| 185 |
label="Used Seed", interactive=False
|
|
|
|
| 237 |
)
|
| 238 |
|
| 239 |
if __name__ == "__main__":
|
| 240 |
+
demo.queue().launch(theme=gr.themes.Soft(), css=css, show_error=True, mcp_server=True)
|