Update pages/bot.py
Browse files- pages/bot.py +1 -1
pages/bot.py
CHANGED
|
@@ -106,7 +106,7 @@ def main():
|
|
| 106 |
Question: {question}
|
| 107 |
"""
|
| 108 |
prompt = ChatPromptTemplate.from_template(template)
|
| 109 |
-
model = "hkunlp/instructor-base"
|
| 110 |
|
| 111 |
|
| 112 |
def format_docs(docs):
|
|
|
|
| 106 |
Question: {question}
|
| 107 |
"""
|
| 108 |
prompt = ChatPromptTemplate.from_template(template)
|
| 109 |
+
model = AutoModel.from_pretrained("hkunlp/instructor-base")
|
| 110 |
|
| 111 |
|
| 112 |
def format_docs(docs):
|