Spaces:
Running
Running
Commit
·
93c950f
1
Parent(s):
052bdcf
Update main.py
Browse files
main.py
CHANGED
@@ -88,7 +88,7 @@ class UserInterface():
|
|
88 |
disabled=text_input_visibility
|
89 |
)
|
90 |
|
91 |
-
template = "<|system|>\nYou are a intelligent chatbot and expertise in {context}.</s>\n<|user|>\n{question}.\n<|assistant|>"
|
92 |
|
93 |
# template = """
|
94 |
# Answer the question based on the context, if you don't know then output "Out of Context"
|
|
|
88 |
disabled=text_input_visibility
|
89 |
)
|
90 |
|
91 |
+
template = f"<|system|>\nYou are a intelligent chatbot and expertise in {context}.</s>\n<|user|>\n{question}.\n<|assistant|>"
|
92 |
|
93 |
# template = """
|
94 |
# Answer the question based on the context, if you don't know then output "Out of Context"
|