Spaces:
Paused
Paused
Commit
•
38cf703
1
Parent(s):
aa08e22
Update app.py
Browse files
app.py
CHANGED
@@ -17,24 +17,22 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
17 |
|
18 |
DESCRIPTION = '''
|
19 |
<div>
|
20 |
-
<h1 style="text-align: center;">
|
21 |
-
|
22 |
-
<p>🔎 For more details about the Llama3 release and how to use the model with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/llama3">at our blog post</a>.</p>
|
23 |
-
<p>🦕 Looking for an even more powerful model? Check out the <a href="https://huggingface.co/chat/"><b>Hugging Chat</b></a> integration for Meta Llama 3 70b</p>
|
24 |
</div>
|
25 |
'''
|
26 |
|
27 |
LICENSE = """
|
28 |
<p/>
|
29 |
---
|
30 |
-
Built with
|
31 |
"""
|
32 |
|
33 |
PLACEHOLDER = """
|
34 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
35 |
-
<img src="https://
|
36 |
-
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">
|
37 |
-
<p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">
|
38 |
</div>
|
39 |
"""
|
40 |
|
@@ -133,11 +131,11 @@ with gr.Blocks(fill_height=True, css=css) as demo:
|
|
133 |
render=False ),
|
134 |
],
|
135 |
examples=[
|
136 |
-
['
|
137 |
-
[
|
138 |
-
['
|
139 |
-
['
|
140 |
-
[
|
141 |
],
|
142 |
cache_examples=False,
|
143 |
)
|
|
|
17 |
|
18 |
DESCRIPTION = '''
|
19 |
<div>
|
20 |
+
<h1 style="text-align: center;">PhysicianAI</h1>
|
21 |
+
|
|
|
|
|
22 |
</div>
|
23 |
'''
|
24 |
|
25 |
LICENSE = """
|
26 |
<p/>
|
27 |
---
|
28 |
+
Built with Mistral 7B Model
|
29 |
"""
|
30 |
|
31 |
PLACEHOLDER = """
|
32 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
33 |
+
<img src="https://www.thesmartcityjournal.com/images/Imagenes-Articulos/2023_09_Septiembre/AI_in_healthcare.jpg" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
|
34 |
+
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">PhysicianAI</h1>
|
35 |
+
<p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">I am a Medicle CHatBot...</p>
|
36 |
</div>
|
37 |
"""
|
38 |
|
|
|
131 |
render=False ),
|
132 |
],
|
133 |
examples=[
|
134 |
+
["I've been experiencing persistent headaches, nausea, and sensitivity to light. What could be causing this?"],
|
135 |
+
["Based on my diagnosis of type 2 diabetes, what are the recommended treatment options? Should I consider medication, lifestyle changes, or both?"],
|
136 |
+
["I'm currently taking lisinopril for hypertension and atorvastatin for high cholesterol. Are there any potential interactions or side effects I should be aware of if I start taking ibuprofen for occasional pain relief?"],
|
137 |
+
["I'm in my early 40s and have a family history of heart disease. What are some preventive measures I can take to lower my risk, besides regular exercise and a healthy diet?"],
|
138 |
+
["Can you provide information on rheumatoid arthritis, including common symptoms, diagnostic tests, and available treatment options?"]
|
139 |
],
|
140 |
cache_examples=False,
|
141 |
)
|