Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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]
|
| 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:
|