fffiloni commited on
Commit
3edc2c4
·
verified ·
1 Parent(s): fba4756

set default height and width gradio image component

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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():