Commit
·
23827b5
1
Parent(s):
10362c2
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,6 @@ class ChatWrapper:
|
|
44 |
print("Human:")
|
45 |
import openai
|
46 |
openai.api_key = api_key
|
47 |
-
question = input()
|
48 |
result = qa_chain({"question": question, "chat_history": chat_history})
|
49 |
chat_history.append((question, result["answer"]))
|
50 |
print("AI:")
|
|
|
44 |
print("Human:")
|
45 |
import openai
|
46 |
openai.api_key = api_key
|
|
|
47 |
result = qa_chain({"question": question, "chat_history": chat_history})
|
48 |
chat_history.append((question, result["answer"]))
|
49 |
print("AI:")
|