Spaces:
Runtime error
Runtime error
Update app_gradio.py
Browse files- app_gradio.py +2 -1
app_gradio.py
CHANGED
|
@@ -231,8 +231,9 @@ def create_gradio_interface():
|
|
| 231 |
with gr.Tab("Draw"):
|
| 232 |
draw_sketchpad = gr.Sketchpad(
|
| 233 |
type="pil",
|
|
|
|
| 234 |
image_mode="L",
|
| 235 |
-
layers=False
|
| 236 |
height=300
|
| 237 |
)
|
| 238 |
|
|
|
|
| 231 |
with gr.Tab("Draw"):
|
| 232 |
draw_sketchpad = gr.Sketchpad(
|
| 233 |
type="pil",
|
| 234 |
+
sources=["upload"],
|
| 235 |
image_mode="L",
|
| 236 |
+
layers=False,
|
| 237 |
height=300
|
| 238 |
)
|
| 239 |
|