neuralleap commited on
Commit
38cf703
1 Parent(s): aa08e22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -13
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;">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
- Built with Meta Llama 3
31
  """
32
 
33
  PLACEHOLDER = """
34
  <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
35
- <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; ">
36
- <h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Meta llama3</h1>
37
- <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Ask me anything...</p>
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
- ['How to setup a human base on Mars? Give short answer.'],
137
- ['Explain theory of relativity to me like I’m 8 years old.'],
138
- ['What is 9,000 * 9,000?'],
139
- ['Write a pun-filled happy birthday message to my friend Alex.'],
140
- ['Justify why a penguin might make a good king of the jungle.']
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
  )