neuralleap commited on
Commit
598519d
1 Parent(s): 9ff4e29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -14
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;">Meta Llama3 8B</h1>
21
- <p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct"><b>Meta Llama3 8b Chat</b></a>. Meta Llama3 is the new open LLM and comes in two sizes: 8b and 70b. Feel free to play with it, or duplicate to run privately!</p>
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://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/8e75e61cc9bab22b7ce3dec85ab0e6db1da5d107/Meta_lockup_positive%20primary_RGB.jpg" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
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
- ['How to setup a human base on Mars? Give short answer.'],
144
- ['Explain theory of relativity to me like I’m 8 years old.'],
145
- ['What is 9,000 * 9,000?'],
146
- ['Write a pun-filled happy birthday message to my friend Alex.'],
147
- ['Justify why a penguin might make a good king of the jungle.']
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
  )