Spaces:
Paused
Paused
Commit
•
598519d
1
Parent(s):
9ff4e29
Update app.py
Browse files
app.py
CHANGED
@@ -17,23 +17,18 @@ 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 |
-
|
31 |
-
Built with Meta Llama 3
|
32 |
-
"""
|
33 |
|
34 |
PLACEHOLDER = """
|
35 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
36 |
-
<img src="https://
|
37 |
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Meta llama3</h1>
|
38 |
<p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Ask me anything...</p>
|
39 |
</div>
|
@@ -140,11 +135,11 @@ with gr.Blocks(fill_height=True, css=css) as demo:
|
|
140 |
render=False ),
|
141 |
],
|
142 |
examples=[
|
143 |
-
['
|
144 |
-
[
|
145 |
-
['
|
146 |
-
['
|
147 |
-
[
|
148 |
],
|
149 |
cache_examples=False,
|
150 |
)
|
|
|
17 |
|
18 |
DESCRIPTION = '''
|
19 |
<div>
|
20 |
+
<h1 style="text-align: center;">PhysisciaAI</h1>
|
21 |
+
|
|
|
|
|
|
|
22 |
'''
|
23 |
|
24 |
LICENSE = """
|
25 |
<p/>
|
26 |
|
27 |
+
Built with Mistral 7B Model
|
|
|
|
|
28 |
|
29 |
PLACEHOLDER = """
|
30 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
31 |
+
<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; ">
|
32 |
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Meta llama3</h1>
|
33 |
<p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Ask me anything...</p>
|
34 |
</div>
|
|
|
135 |
render=False ),
|
136 |
],
|
137 |
examples=[
|
138 |
+
["I've been experiencing persistent headaches, nausea, and sensitivity to light. What could be causing this?"],
|
139 |
+
["Based on my diagnosis of type 2 diabetes, what are the recommended treatment options? Should I consider medication, lifestyle changes, or both?"],
|
140 |
+
["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?"],
|
141 |
+
["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?"],
|
142 |
+
["Can you provide information on rheumatoid arthritis, including common symptoms, diagnostic tests, and available treatment options?"]
|
143 |
],
|
144 |
cache_examples=False,
|
145 |
)
|