Update app.py
Browse files
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
|
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 (
|
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
|