Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,7 @@ def stream_chat(message: Dict[str, str], history: list):
|
|
71 |
pixel_values=pixel_values,
|
72 |
streamer=streamer,
|
73 |
max_new_tokens=256,
|
|
|
74 |
)
|
75 |
|
76 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
|
|
71 |
pixel_values=pixel_values,
|
72 |
streamer=streamer,
|
73 |
max_new_tokens=256,
|
74 |
+
do_sample=True,
|
75 |
)
|
76 |
|
77 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|