Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -29,7 +29,7 @@ class EndpointHandler:
|
|
29 |
|
30 |
# ignoring parameters! Default to configs in generation_config.json.
|
31 |
messages = [{"role": "user", "content": data}]
|
32 |
-
response = self.model.chat(self.tokenizer, messages)
|
33 |
print("---start chat response---")
|
34 |
print(response)
|
35 |
print("---end chat response---")
|
|
|
29 |
|
30 |
# ignoring parameters! Default to configs in generation_config.json.
|
31 |
messages = [{"role": "user", "content": data}]
|
32 |
+
response = self.model.chat(self.tokenizer, messages)
|
33 |
print("---start chat response---")
|
34 |
print(response)
|
35 |
print("---end chat response---")
|