Carlos Rosas commited on
Commit
d538d1f
·
verified ·
1 Parent(s): 2c7261d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -214,8 +214,21 @@ def gradio_interface(user_message):
214
  demo = gr.Blocks(css=css)
215
 
216
  with demo:
217
- with gr.Column(scale=1):
218
- gr.Image("pleias.png", show_label=False, height=96, width=96, container=False)
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  gr.HTML("""<h1 style="text-align: center; font-size: 24px; font-weight: bold; margin-top: 16px;">pleias-RAG 1.0</h1>""")
220
  with gr.Row():
221
  with gr.Column(scale=2):
 
214
  demo = gr.Blocks(css=css)
215
 
216
  with demo:
217
+ with gr.Column():
218
+ with gr.Row(equal_height=True):
219
+ with gr.Column(scale=1):
220
+ # Empty column for spacing
221
+ gr.Text(visible=False)
222
+ with gr.Column(scale=1):
223
+ gr.Image("pleias.png",
224
+ show_label=False,
225
+ height=32, # Reduced height
226
+ width=32, # Reduced width
227
+ container=True,
228
+ scale=1)
229
+ with gr.Column(scale=1):
230
+ # Empty column for spacing
231
+ gr.Text(visible=False)
232
  gr.HTML("""<h1 style="text-align: center; font-size: 24px; font-weight: bold; margin-top: 16px;">pleias-RAG 1.0</h1>""")
233
  with gr.Row():
234
  with gr.Column(scale=2):