Spaces:
Running
Running
Commit
·
d7b562d
1
Parent(s):
5eb2692
Update app.py
Browse files
app.py
CHANGED
@@ -277,9 +277,10 @@ interface.launch(share=True)
|
|
277 |
|
278 |
# gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
|
279 |
|
|
|
280 |
demo = gr.Interface(fn=predict,
|
281 |
-
inputs=
|
282 |
-
outputs=
|
283 |
# examples=[["cheetah.jpg"]],
|
284 |
)
|
285 |
|
|
|
277 |
|
278 |
# gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
|
279 |
|
280 |
+
image = gr.inputs.Image(source='upload', tool='sketch', type="pil", label="Upload")# .style(height=400)
|
281 |
demo = gr.Interface(fn=predict,
|
282 |
+
inputs=image,
|
283 |
+
outputs=image,
|
284 |
# examples=[["cheetah.jpg"]],
|
285 |
)
|
286 |
|