Carlos Rosas commited on
Commit
91216d8
·
verified ·
1 Parent(s): d538d1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -16
app.py CHANGED
@@ -214,22 +214,14 @@ def gradio_interface(user_message):
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):
235
  text_input = gr.Textbox(label="Votre question ou votre instruction", lines=3)
 
214
  demo = gr.Blocks(css=css)
215
 
216
  with demo:
217
+ with gr.Row(justify="center"):
218
+ gr.Image("pleias.png",
219
+ show_label=False,
220
+ height=60,
221
+ width=150,
222
+ container=False,
223
+ scale=1)
224
+ gr.HTML("""<h1 style="text-align: center; font-size: 24px; font-weight: bold;">pleias-RAG 1.0</h1>""")
 
 
 
 
 
 
 
 
225
  with gr.Row():
226
  with gr.Column(scale=2):
227
  text_input = gr.Textbox(label="Votre question ou votre instruction", lines=3)