Spaces:
Runtime error
Runtime error
HuanjinYao
commited on
Commit
•
1951df3
1
Parent(s):
471412e
Update app.py
Browse files
app.py
CHANGED
@@ -94,10 +94,8 @@ def bot_streaming(message, history):
|
|
94 |
|
95 |
|
96 |
streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)
|
97 |
-
|
98 |
-
print('here?')
|
99 |
|
100 |
-
generation_kwargs = dict(inputs, streamer=streamer, max_new_tokens=1024, do_sample=False, eos_token_id = terminators)
|
101 |
|
102 |
print('here?')
|
103 |
|
|
|
94 |
|
95 |
|
96 |
streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)
|
|
|
|
|
97 |
|
98 |
+
generation_kwargs = dict(input_ids=inputs, streamer=streamer, max_new_tokens=1024, do_sample=False, eos_token_id = terminators)
|
99 |
|
100 |
print('here?')
|
101 |
|