Carlos Rosas commited on
Commit
cb88a6d
·
verified ·
1 Parent(s): c83041a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -11
app.py CHANGED
@@ -215,19 +215,19 @@ demo = gr.Blocks(css=css + """
215
  .logo {
216
  display: block;
217
  margin: 0 auto;
218
- width: 200px;
219
- height: 200px;
220
  margin-bottom: 1em;
221
- object-fit: contain;
222
  }
223
  """)
224
 
 
225
  with demo:
 
226
  gr.HTML("""
227
- <div style="text-align: center;">
228
- <img src="file/pleias.png" class="logo" alt="Pleias Logo">
229
- <h1>Cassandre</h1>
230
- </div>
231
  """)
232
  with gr.Row():
233
  with gr.Column(scale=2):
@@ -242,7 +242,4 @@ with demo:
242
 
243
  # Launch the app
244
  if __name__ == "__main__":
245
- demo.launch(
246
- # Specify the directory containing static files
247
- assets_dir=".", # This tells Gradio to look in the current directory for files
248
- )
 
215
  .logo {
216
  display: block;
217
  margin: 0 auto;
218
+ width: 200px;
219
+ height: 200px;
220
  margin-bottom: 1em;
221
+
222
  }
223
  """)
224
 
225
+
226
  with demo:
227
+ # Add logo and title
228
  gr.HTML("""
229
+ <img src="pleias.png" class="logo" alt="Pleias Logo">
230
+ <h1 style="text-align:center">pleias-RAG 1.0</h1>
 
 
231
  """)
232
  with gr.Row():
233
  with gr.Column(scale=2):
 
242
 
243
  # Launch the app
244
  if __name__ == "__main__":
245
+ demo.launch()