Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,6 +114,7 @@ def talk(prompt, history):
|
|
114 |
print(messages)
|
115 |
# binding the system context and new prompt for LLM
|
116 |
# the chat template structure should be based on text generation model format
|
|
|
117 |
|
118 |
# indicates the end of a sequence
|
119 |
stream = model.create_chat_completion(messages = messages, max_tokens=1000, stop=["</s>"], stream=False)
|
|
|
114 |
print(messages)
|
115 |
# binding the system context and new prompt for LLM
|
116 |
# the chat template structure should be based on text generation model format
|
117 |
+
print("check 6")
|
118 |
|
119 |
# indicates the end of a sequence
|
120 |
stream = model.create_chat_completion(messages = messages, max_tokens=1000, stop=["</s>"], stream=False)
|