Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks() as demo:
|
|
43 |
)
|
44 |
with gr.Row():
|
45 |
img_input = [gr.Image(type="filepath",label="Input Image",width=300, height=300)]
|
46 |
-
pred_outputs = [gr.Image(type="
|
47 |
|
48 |
image_button = gr.Button("Predict")
|
49 |
image_button.click(inference, inputs=img_input, outputs=pred_outputs)
|
|
|
43 |
)
|
44 |
with gr.Row():
|
45 |
img_input = [gr.Image(type="filepath",label="Input Image",width=300, height=300)]
|
46 |
+
pred_outputs = [gr.Image(type="pil",label="Output Image",width=640, height=640)]
|
47 |
|
48 |
image_button = gr.Button("Predict")
|
49 |
image_button.click(inference, inputs=img_input, outputs=pred_outputs)
|