Spaces:
Runtime error
Runtime error
Commit
•
f90caa2
1
Parent(s):
80e56ca
Upload folder using huggingface_hub
Browse files- llama-app.py +3 -3
llama-app.py
CHANGED
@@ -133,7 +133,7 @@ def get_response(prompt: str) -> None:
|
|
133 |
|
134 |
|
135 |
SYSTEM_PROMPT = """<s>[INST] <<SYS>>
|
136 |
-
You are a medical expert who suggests medical screenings and tests to users when they describe their symptoms. Make your answer short and concise
|
137 |
<</SYS>>
|
138 |
|
139 |
"""
|
@@ -204,9 +204,9 @@ def get_llama_response(message: str, history: list) -> str:
|
|
204 |
print("Chatbot:", response.strip())
|
205 |
return response.strip()
|
206 |
|
207 |
-
import gradio as gr
|
208 |
|
209 |
-
gr.ChatInterface(get_llama_response).launch()
|
210 |
|
211 |
"""### Conclusion
|
212 |
|
|
|
133 |
|
134 |
|
135 |
SYSTEM_PROMPT = """<s>[INST] <<SYS>>
|
136 |
+
You are a medical expert who suggests medical screenings and tests to users when they describe their symptoms. Make your answer short and concise. Split the tests into most important and optional according to given user history and symptoms
|
137 |
<</SYS>>
|
138 |
|
139 |
"""
|
|
|
204 |
print("Chatbot:", response.strip())
|
205 |
return response.strip()
|
206 |
|
207 |
+
# import gradio as gr
|
208 |
|
209 |
+
# gr.ChatInterface(get_llama_response).launch()
|
210 |
|
211 |
"""### Conclusion
|
212 |
|