Spaces:
Runtime error
Runtime error
Commit
·
c99ccb0
1
Parent(s):
e82bfcf
Update app.py
Browse files
app.py
CHANGED
@@ -20,4 +20,4 @@ def predict_fn(img):
|
|
20 |
save_image(out, 'out.png', normalize=True)
|
21 |
return 'out.png'
|
22 |
|
23 |
-
gr.Interface(predict_fn, inputs=
|
|
|
20 |
save_image(out, 'out.png', normalize=True)
|
21 |
return 'out.png'
|
22 |
|
23 |
+
gr.Interface(predict_fn, inputs="sketchpad", outputs='image', examples=[['sample.jpeg']]).launch()
|