Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|