Spaces:
Running
Running
Update app.py
Browse files
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.
|
72 |
-
|
73 |
-
|
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/"])
|