prithivMLmods commited on
Commit
c9b2d56
·
verified ·
1 Parent(s): af9dc59

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.File(
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="matanninio/IBM_Carbon_Theme", css=css, show_error=True, mcp_server=True)
 
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)