Spaces:
Paused
Paused
Carlos Rosas
commited on
Update app.py
Browse files
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.
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
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)
|