Zaherrr commited on
Commit
365d7fc
·
verified ·
1 Parent(s): 462fd47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -158,6 +158,10 @@ with gr.Blocks() as demo:
158
  confirmation_input = gr.Textbox(label="Type 'yes' to confirm overwrite", visible=False, interactive=True)
159
  confirm_button = gr.Button("Confirm Overwrite", visible=False)
160
 
 
 
 
 
161
  file_input.upload(
162
  fn=input_file_handler,
163
  inputs=[file_input],
 
158
  confirmation_input = gr.Textbox(label="Type 'yes' to confirm overwrite", visible=False, interactive=True)
159
  confirm_button = gr.Button("Confirm Overwrite", visible=False)
160
 
161
+ # Added 2 examples for this deployment only
162
+ examples_list = ["image_examples/image1.png", "image_examples/image2.png"]
163
+ example_component = gr.Examples(examples_list, input=file_input)
164
+
165
  file_input.upload(
166
  fn=input_file_handler,
167
  inputs=[file_input],