gensym commited on
Commit
693b8bf
·
1 Parent(s): a5f298f
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -202,19 +202,19 @@ with gr.Blocks() as demo:
202
  trial_id = gr.Textbox(visible=False)
203
  output_buf = gr.State()
204
 
205
- # Example images at the bottom of the page
206
- with gr.Row():
207
- examples = gr.Examples(
208
- examples=[
209
- f'assets/example_image/{image}'
210
- for image in os.listdir("assets/example_image")
211
- ],
212
- inputs=[image_prompt],
213
- fn=preprocess_image,
214
- outputs=[trial_id, image_prompt],
215
- run_on_click=True,
216
- examples_per_page=64,
217
- )
218
 
219
  # # Handlers
220
  # image_prompt.upload(
 
202
  trial_id = gr.Textbox(visible=False)
203
  output_buf = gr.State()
204
 
205
+ # # Example images at the bottom of the page
206
+ # with gr.Row():
207
+ # examples = gr.Examples(
208
+ # examples=[
209
+ # f'assets/example_image/{image}'
210
+ # for image in os.listdir("assets/example_image")
211
+ # ],
212
+ # inputs=[image_prompt],
213
+ # fn=preprocess_image,
214
+ # outputs=[trial_id, image_prompt],
215
+ # run_on_click=True,
216
+ # examples_per_page=64,
217
+ # )
218
 
219
  # # Handlers
220
  # image_prompt.upload(