broyang commited on
Commit
a5034a6
·
1 Parent(s): a584a83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
30
  input = gr.Image(type="pil", label="Upload Image", sources=["upload"])
31
  with gr.Column():
32
  image = gr.Image(label="Sketch Drawing", show_share_button=False)
33
- examples = gr.Examples(examples=["road_small.jpg", "preview_small.jpg", "trailer.jpg"], inputs=[input], cache_examples=True)
34
  @gr.on(inputs=[input], outputs=[image], show_progress="minimal")
35
  def sketch(input_path):
36
  if input_path is None:
 
30
  input = gr.Image(type="pil", label="Upload Image", sources=["upload"])
31
  with gr.Column():
32
  image = gr.Image(label="Sketch Drawing", show_share_button=False)
33
+ examples = gr.Examples(examples=["road_small.jpg", "preview_small.jpg", "trailer.jpg"], inputs=[input])
34
  @gr.on(inputs=[input], outputs=[image], show_progress="minimal")
35
  def sketch(input_path):
36
  if input_path is None: