Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,9 @@ def load_pdf_text(file_path):
|
|
83 |
return text
|
84 |
|
85 |
def load_chatbot():
|
86 |
-
return load_qa_chain(llm=OpenAI(), chain_type="stuff")
|
|
|
|
|
87 |
|
88 |
|
89 |
def display_chat_history(chat_history):
|
|
|
83 |
return text
|
84 |
|
85 |
def load_chatbot():
|
86 |
+
#return load_qa_chain(llm=OpenAI(), chain_type="stuff")
|
87 |
+
return load_qa_chain(llm=OpenAI(model_name="gpt-3.5-turbo-instruct"), chain_type="stuff")
|
88 |
+
|
89 |
|
90 |
|
91 |
def display_chat_history(chat_history):
|