Simonlob commited on
Commit
775e425
·
verified ·
1 Parent(s): 5aa1909

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -135,6 +135,10 @@ css = """
135
  #share-btn-container .wrap {
136
  display: none !important;
137
  }
 
 
 
 
138
  """
139
  with gr.Blocks(css=css) as block:
140
  gr.HTML(
@@ -154,7 +158,7 @@ with gr.Blocks(css=css) as block:
154
  )
155
  with gr.Row():
156
  image_path = "./photo_2024-04-07_15-59-52.png"
157
- gr.Image(image_path, label=None, width=132, height=63, show_label=False)
158
  with gr.Row():
159
  with gr.Column():
160
  input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")
 
135
  #share-btn-container .wrap {
136
  display: none !important;
137
  }
138
+ img {
139
+ width: 132px !important;
140
+ height: 132px !important;
141
+ }
142
  """
143
  with gr.Blocks(css=css) as block:
144
  gr.HTML(
 
158
  )
159
  with gr.Row():
160
  image_path = "./photo_2024-04-07_15-59-52.png"
161
+ gr.Image(image_path, label=None, width=132, height=132, show_label=False)
162
  with gr.Row():
163
  with gr.Column():
164
  input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")