Spaces:
Running
Running
Update app.py
Browse files
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 |
-
['
|
143 |
-
['
|
144 |
-
['What
|
145 |
-
['
|
146 |
-
['
|
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()
|