natasha1704 commited on
Commit
3b1a51d
·
verified ·
1 Parent(s): 9b7cfb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -31,17 +31,21 @@ DESCRIPTION_MD = (
31
  logo_html = """
32
  <img src="https://raw.githubusercontent.com/Alea4jacta6est/drug-interaction-checker-agent/main/docs/images/logo.png"
33
  alt="WellBe+" width="80">
34
- """
 
35
 
36
  def build_interface() -> gr.Blocks:
37
  """Construct and return the Gradio interface for the WellBe+ Assistant."""
38
  with gr.Blocks(title="WellBe+ Assistant") as app:
39
- gr.HTML(logo_html)
 
 
 
40
  with gr.Row():
41
  with gr.Column(scale=2):
42
  gr.Markdown(DESCRIPTION_MD)
43
  with gr.Column(scale=1):
44
- gr.Markdown("### How to use\n")
45
  gr.Video(value="docs/demo.mp4", autoplay=True)
46
  with gr.Row():
47
  # -----------------------------------------------------------------
 
31
  logo_html = """
32
  <img src="https://raw.githubusercontent.com/Alea4jacta6est/drug-interaction-checker-agent/main/docs/images/logo.png"
33
  alt="WellBe+" width="80">
34
+ <h1>WellBe+ Assistant</h1>
35
+ """
36
 
37
  def build_interface() -> gr.Blocks:
38
  """Construct and return the Gradio interface for the WellBe+ Assistant."""
39
  with gr.Blocks(title="WellBe+ Assistant") as app:
40
+ gr.HTML(logo_html) # Logo and title together
41
+
42
+ gr.Markdown("")
43
+
44
  with gr.Row():
45
  with gr.Column(scale=2):
46
  gr.Markdown(DESCRIPTION_MD)
47
  with gr.Column(scale=1):
48
+ gr.Markdown("### How to use")
49
  gr.Video(value="docs/demo.mp4", autoplay=True)
50
  with gr.Row():
51
  # -----------------------------------------------------------------