MaxLSB commited on
Commit
f19d748
·
verified ·
1 Parent(s): 7f6dac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -68,10 +68,12 @@ image_path = "static/le-carnet.png"
68
  with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
69
  # Header with image and title
70
  with gr.Row():
71
- gr.Markdown(
72
- "<h1 style='margin:0; display:inline; vertical-align:top;'>LeCarnet</h1>",
73
- label=None
74
- )
 
 
75
 
76
  # Main layout
77
  with gr.Row():
@@ -116,4 +118,4 @@ with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
116
 
117
  if __name__ == "__main__":
118
  demo.queue()
119
- demo.launch()
 
68
  with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
69
  # Header with image and title
70
  with gr.Row():
71
+ gr.HTML("""
72
+ <div style="display:flex; align-items:center; gap:16px;">
73
+ <img src="file/media/le-carnet.png" alt="Logo" style="height:64px;">
74
+ <h1 style="margin:0;">LeCarnet</h1>
75
+ </div>
76
+ """)
77
 
78
  # Main layout
79
  with gr.Row():
 
118
 
119
  if __name__ == "__main__":
120
  demo.queue()
121
+ demo.launch(allowed_paths=["media/"])