MaxLSB commited on
Commit
0472769
·
verified ·
1 Parent(s): 49b3d50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
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.Image(
69
- value="media/le-carnet.png",
70
- label=None,
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