Spaces:
Running
on
L40S
Running
on
L40S
set default height and width gradio image component
Browse files
app.py
CHANGED
@@ -112,9 +112,7 @@ with gr.Blocks(css=css) as demo:
|
|
112 |
image = gr.Image(
|
113 |
label="Input image",
|
114 |
sources=["upload"],
|
115 |
-
type="filepath"
|
116 |
-
height=512,
|
117 |
-
width=512
|
118 |
)
|
119 |
with gr.Tab("HEAD"):
|
120 |
with gr.Column():
|
|
|
112 |
image = gr.Image(
|
113 |
label="Input image",
|
114 |
sources=["upload"],
|
115 |
+
type="filepath"
|
|
|
|
|
116 |
)
|
117 |
with gr.Tab("HEAD"):
|
118 |
with gr.Column():
|