ilanser commited on
Commit
77db537
1 Parent(s): 80b8e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,5 +54,5 @@ with gr.Blocks() as iface:
54
  # iface = gr.Interface(fn=predict, inputs=[sketchpad, "text"], outputs=im, live=False, title="Sketch2Image")
55
  ## get all the file path from flagged/sketch folder into a list
56
  sketch_path = glob.glob("flagged/sketch/*.png")
57
- gr.Examples(examples = list(map(lambda x: [x ,"draw in the style of crayon by kids"], sketch_path)), inputs=[sketchpad,txt], outputs=im, fn=predict, cache_examples=True)
58
  iface.launch()
 
54
  # iface = gr.Interface(fn=predict, inputs=[sketchpad, "text"], outputs=im, live=False, title="Sketch2Image")
55
  ## get all the file path from flagged/sketch folder into a list
56
  sketch_path = glob.glob("flagged/sketch/*.png")
57
+ # gr.Examples(examples = list(map(lambda x: [x ,"draw in the style of crayon by kids"], sketch_path)), inputs=[sketchpad,txt], outputs=im, fn=predict, cache_examples=True)
58
  iface.launch()