benardo0 commited on
Commit
5edea36
·
verified ·
1 Parent(s): 568eda4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -214,7 +214,7 @@ class MedicalAssistant:
214
  logger.info("Preparing message for generation")
215
 
216
  # Create a medical context-aware prompt
217
- system_prompt = """You are a medical AI assistant based on Llama3-Med42,
218
  specifically trained on medical knowledge. Provide accurate, professional
219
  medical guidance while acknowledging limitations. Always recommend
220
  consulting healthcare providers for specific medical advice."""
@@ -290,7 +290,7 @@ def chat_response(message: str, history: List[Dict]):
290
  # Create the Gradio interface
291
  demo = gr.ChatInterface(
292
  fn=chat_response,
293
- title="Medical Assistant (Llama3-Med42)",
294
  description="""This medical assistant is powered by NURSEOGE,
295
  a model specifically trained on medical knowledge. It provides
296
  guidance and information about health-related queries while
 
214
  logger.info("Preparing message for generation")
215
 
216
  # Create a medical context-aware prompt
217
+ system_prompt = """You are a medical AI assistant based on Llama3,
218
  specifically trained on medical knowledge. Provide accurate, professional
219
  medical guidance while acknowledging limitations. Always recommend
220
  consulting healthcare providers for specific medical advice."""
 
290
  # Create the Gradio interface
291
  demo = gr.ChatInterface(
292
  fn=chat_response,
293
+ title="Medical Assistant (NURSEOGE)",
294
  description="""This medical assistant is powered by NURSEOGE,
295
  a model specifically trained on medical knowledge. It provides
296
  guidance and information about health-related queries while