Update app.py
Browse files
app.py
CHANGED
|
@@ -116,8 +116,6 @@ def talk(prompt, history):
|
|
| 116 |
stream = model.create_chat_completion(messages = messages,max_tokens =400, stop=["</s>"], stream=False)
|
| 117 |
# print(f"{stream}")
|
| 118 |
print("check 7")
|
| 119 |
-
global historylog
|
| 120 |
-
print(historylog)
|
| 121 |
print(stream['choices'][0]['message']['content'])
|
| 122 |
response = stream['choices'][0]['message']['content']
|
| 123 |
|
|
|
|
| 116 |
stream = model.create_chat_completion(messages = messages,max_tokens =400, stop=["</s>"], stream=False)
|
| 117 |
# print(f"{stream}")
|
| 118 |
print("check 7")
|
|
|
|
|
|
|
| 119 |
print(stream['choices'][0]['message']['content'])
|
| 120 |
response = stream['choices'][0]['message']['content']
|
| 121 |
|