Cyantist8208 commited on
Commit
d3dc9d5
·
1 Parent(s): 3674a23

try to debug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def answer(system: str, context: str, question: str,
181
 
182
  # --- generate ------------------------------------------------------
183
  output = chat_model.generate(
184
- prompt,
185
  max_new_tokens=512,
186
  max_length=MAX_PROMPT_TOKENS + 512,
187
  do_sample=True,
 
181
 
182
  # --- generate ------------------------------------------------------
183
  output = chat_model.generate(
184
+ **tokens,
185
  max_new_tokens=512,
186
  max_length=MAX_PROMPT_TOKENS + 512,
187
  do_sample=True,