Spaces:
Runtime error
Runtime error
app.py
CHANGED
|
@@ -44,9 +44,9 @@ with demo:
|
|
| 44 |
"""Testing Inference for Gradio. Work in Progress."""
|
| 45 |
)
|
| 46 |
with gr.Row():
|
| 47 |
-
in_image = gr.Image(type='
|
| 48 |
-
in_image_mask = gr.Image(type='
|
| 49 |
-
out_image = gr.outputs.Image(type='
|
| 50 |
|
| 51 |
#in_text1 = gr.Textbox()
|
| 52 |
#in_text2 = gr.Textbox()
|
|
|
|
| 44 |
"""Testing Inference for Gradio. Work in Progress."""
|
| 45 |
)
|
| 46 |
with gr.Row():
|
| 47 |
+
in_image = gr.Image(type='file') #(visible=False) type='numpy'
|
| 48 |
+
in_image_mask = gr.Image(type='file', source="canvas", visible=False) #type='numpy',
|
| 49 |
+
out_image = gr.outputs.Image(type='file') #(type='file')
|
| 50 |
|
| 51 |
#in_text1 = gr.Textbox()
|
| 52 |
#in_text2 = gr.Textbox()
|