reedmayhew commited on
Commit
29cb53e
·
verified ·
1 Parent(s): 35446dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -14,9 +14,9 @@ DESCRIPTION = '''
14
  '''
15
 
16
  LICENSE = """
17
- <p/>
18
-
19
- ---
20
  """
21
 
22
  PLACEHOLDER = """
@@ -139,11 +139,11 @@ with gr.Blocks(fill_height=True, css=css) as demo:
139
  gr.Slider(minimum=128, maximum=4096, step=64, value=1024, label="Max new tokens", render=False),
140
  ],
141
  examples=[
142
- ['How to setup a human base on Mars? Give short answer.'],
143
- ['Explain theory of relativity to me like I’m 8 years old.'],
144
- ['What is 9,000 * 9,000?'],
145
- ['Write a pun-filled happy birthday message to my friend Alex.'],
146
- ['Justify why a penguin might make a good king of the jungle.']
147
  ],
148
  cache_examples=False,
149
  )
@@ -151,4 +151,4 @@ with gr.Blocks(fill_height=True, css=css) as demo:
151
  gr.Markdown(LICENSE)
152
 
153
  if __name__ == "__main__":
154
- demo.launch()
 
14
  '''
15
 
16
  LICENSE = """
17
+ <p>
18
+ This Health Assistant is designed to provide helpful healthcare information; however, it may make mistakes and is not designed to replace professional medical care. It is not intended to diagnose any condition or disease. Always consult with a qualified healthcare provider for any medical concerns.
19
+ </p>
20
  """
21
 
22
  PLACEHOLDER = """
 
139
  gr.Slider(minimum=128, maximum=4096, step=64, value=1024, label="Max new tokens", render=False),
140
  ],
141
  examples=[
142
+ ['What are the common symptoms of diabetes?'],
143
+ ['How can I manage high blood pressure with lifestyle changes?'],
144
+ ['What nutritional advice can help improve heart health?'],
145
+ ['Can you explain the benefits of regular exercise for mental well-being?'],
146
+ ['What should I know about the side effects of common medications?']
147
  ],
148
  cache_examples=False,
149
  )
 
151
  gr.Markdown(LICENSE)
152
 
153
  if __name__ == "__main__":
154
+ demo.launch()