Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -139,6 +139,8 @@ If the user is engaging in discussion, try to steer them towards getting in touc
|
|
| 139 |
# return response.choices[0].message.content
|
| 140 |
|
| 141 |
def chat(self, message, history):
|
|
|
|
|
|
|
| 142 |
# Clean history so only role/content remain
|
| 143 |
clean_history = [
|
| 144 |
{"role": m.get("role"), "content": m.get("content", "")}
|
|
|
|
| 139 |
# return response.choices[0].message.content
|
| 140 |
|
| 141 |
def chat(self, message, history):
|
| 142 |
+
print("got msg")
|
| 143 |
+
print(message)
|
| 144 |
# Clean history so only role/content remain
|
| 145 |
clean_history = [
|
| 146 |
{"role": m.get("role"), "content": m.get("content", "")}
|