Spaces:
Runtime error
Runtime error
new code
Browse files- src/pdfchatbot.py +1 -0
src/pdfchatbot.py
CHANGED
@@ -82,6 +82,7 @@ class PDFChatBot:
|
|
82 |
{"role": "system", "content": "From the the contained given below, answer the question of user \n " + self.current_context},
|
83 |
{"role": "user", "content": query},
|
84 |
]
|
|
|
85 |
prompt = tokenizer.apply_chat_template(
|
86 |
messages,
|
87 |
tokenize=False,
|
|
|
82 |
{"role": "system", "content": "From the the contained given below, answer the question of user \n " + self.current_context},
|
83 |
{"role": "user", "content": query},
|
84 |
]
|
85 |
+
|
86 |
prompt = tokenizer.apply_chat_template(
|
87 |
messages,
|
88 |
tokenize=False,
|