Spaces:
Runtime error
Runtime error
Update app.py
Browse files137 unmodified lines138139140141142143144137 unmodified linesinput_ids = tokenizer.apply_chat_template(conversation, return_tensors="pt").to(model.device)streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)generate_kwargs = dict(input_ids= input_ids,streamer=streamer,137 unmodified lines138139140141142143144145137 unmodified linesinput_ids = tokenizer.apply_chat_template(conversation, return_tensors="pt").to(model.device)streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)print(max_new_tokens)max_new_tokens=4096generate_kwargs = dict(input_ids= input_ids,streamer=streamer,
app.py+2-1