Ariel commited on
Commit
5a01705
·
1 Parent(s): 5151111

adjust image

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -147,10 +147,10 @@ with gr.Blocks(theme="HaleyCH/HaleyCH_Theme", title="Solar Panel Detector", css=
147
  # add logo
148
  gr.Markdown("# **Solar Panel Detector 2.0** 🛰️☀️", elem_classes="centered-text")
149
  with gr.Column(scale=1, variant="default"):
150
- gr.HTML(f"""
151
- <div style='text-align: center;'>
152
  <img src='https://github.com/ArielDrabkin/Solar-Panel-Detector/blob/master/deployment/examples/DALL-E.jpeg?raw=true'
153
- height='500' width='1200';'/>
154
  </div>
155
  """)
156
  gr.Markdown("## This app provides the ability to detect solar panels in a given address or a given image.")
 
147
  # add logo
148
  gr.Markdown("# **Solar Panel Detector 2.0** 🛰️☀️", elem_classes="centered-text")
149
  with gr.Column(scale=1, variant="default"):
150
+ gr.HTML("""
151
+ <div style='display: flex; justify-content: center; align-items: center; height: 100%;'>
152
  <img src='https://github.com/ArielDrabkin/Solar-Panel-Detector/blob/master/deployment/examples/DALL-E.jpeg?raw=true'
153
+ height='350' width='700'/>
154
  </div>
155
  """)
156
  gr.Markdown("## This app provides the ability to detect solar panels in a given address or a given image.")