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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -214,13 +214,9 @@ def gradio_interface(user_message):
214
  demo = gr.Blocks(css=css)
215
 
216
  with demo:
217
- # Add logo and title
218
- gr.HTML("""
219
- <div style="display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 20px 0;">
220
- <img src="pleias.png" alt="Pleias RAG Logo" style="width: 128px; height: 128px; object-fit: contain;">
221
- <h1 style="font-size: 24px; font-weight: bold;">pleias-RAG 1.0</h1>
222
- </div>
223
- """)
224
  with gr.Row():
225
  with gr.Column(scale=2):
226
  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.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):
222
  text_input = gr.Textbox(label="Votre question ou votre instruction", lines=3)