Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,13 +65,11 @@ def update_model(model_name):
|
|
| 65 |
# Gradio UI
|
| 66 |
with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
|
| 67 |
with gr.Row(equal_height=True):
|
| 68 |
-
gr.
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
height=60,
|
| 72 |
-
width=60,
|
| 73 |
-
interactive=False
|
| 74 |
)
|
|
|
|
| 75 |
gr.Markdown(
|
| 76 |
"<h1 style='margin:0; display:inline; vertical-align:top;'>LeCarnet</h1>",
|
| 77 |
label=None
|
|
|
|
| 65 |
# Gradio UI
|
| 66 |
with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
|
| 67 |
with gr.Row(equal_height=True):
|
| 68 |
+
gr.Markdown(
|
| 69 |
+
f'<img src="file/{os.path.abspath("media/le-carnet.png")}" style="height:80px; width:80px; margin-right:10px; vertical-align:top;">',
|
| 70 |
+
elem_classes="header-image"
|
|
|
|
|
|
|
|
|
|
| 71 |
)
|
| 72 |
+
# Title next to image
|
| 73 |
gr.Markdown(
|
| 74 |
"<h1 style='margin:0; display:inline; vertical-align:top;'>LeCarnet</h1>",
|
| 75 |
label=None
|