AleenDG commited on
Commit
1072027
1 Parent(s): dbb489f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -118,18 +118,18 @@ with gr.Blocks() as demo:
118
  label="Output Model",
119
  interactive=False,
120
  )
121
- with gr.Row(variant="panel"):
122
- gr.Examples(
123
- examples=[
124
- os.path.join("examples", img_name) for img_name in sorted(os.listdir("examples"))
125
- ],
126
- inputs=[input_image],
127
- outputs=[processed_image, output_model, output_model2],
128
- #cache_examples=True,
129
- fn=partial(run_example),
130
- label="Examples",
131
- examples_per_page=20
132
- )
133
  submit.click(fn=check_input_image, inputs=[input_image]).success(
134
  fn=preprocess,
135
  inputs=[input_image, do_remove_background, foreground_ratio],
 
118
  label="Output Model",
119
  interactive=False,
120
  )
121
+ # with gr.Row(variant="panel"):
122
+ # gr.Examples(
123
+ # examples=[
124
+ # os.path.join("examples", img_name) for img_name in sorted(os.listdir("examples"))
125
+ # ],
126
+ # inputs=[input_image],
127
+ # outputs=[processed_image, output_model, output_model2],
128
+ # #cache_examples=True,
129
+ # fn=partial(run_example),
130
+ # label="Examples",
131
+ # examples_per_page=20
132
+ # )
133
  submit.click(fn=check_input_image, inputs=[input_image]).success(
134
  fn=preprocess,
135
  inputs=[input_image, do_remove_background, foreground_ratio],