Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,7 @@ def generate(
|
|
52 |
{"role": "assistant", "content": assistant},
|
53 |
]
|
54 |
)
|
|
|
55 |
conversation.append({"role": "user", "content": message})
|
56 |
|
57 |
input_ids = tokenizer.apply_chat_template(conversation, add_generation_prompt=True, return_tensors="pt")
|
|
|
52 |
{"role": "assistant", "content": assistant},
|
53 |
]
|
54 |
)
|
55 |
+
print("Content: ", user)
|
56 |
conversation.append({"role": "user", "content": message})
|
57 |
|
58 |
input_ids = tokenizer.apply_chat_template(conversation, add_generation_prompt=True, return_tensors="pt")
|