Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def stream_chat(
|
|
85 |
streamer = TextIteratorStreamer(tokenizer, timeout=60.0, skip_prompt=True, skip_special_tokens=True)
|
86 |
|
87 |
generate_kwargs = dict(
|
88 |
-
inputs,
|
89 |
max_new_tokens = max_new_tokens,
|
90 |
do_sample = False if temperature == 0 else True,
|
91 |
top_p = top_p,
|
|
|
85 |
streamer = TextIteratorStreamer(tokenizer, timeout=60.0, skip_prompt=True, skip_special_tokens=True)
|
86 |
|
87 |
generate_kwargs = dict(
|
88 |
+
input_ids=inputs,
|
89 |
max_new_tokens = max_new_tokens,
|
90 |
do_sample = False if temperature == 0 else True,
|
91 |
top_p = top_p,
|