ErikH commited on
Commit
dab4ccd
1 Parent(s): 565faf3

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. 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):