Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def bot_streaming(message, history, temperature, top_k, max_new_tokens):
|
|
67 |
generated_text = vlm.generate(
|
68 |
image,
|
69 |
prompt_text,
|
70 |
-
|
71 |
do_sample=True,
|
72 |
temperature=temperature,
|
73 |
top_k=top_k,
|
|
|
67 |
generated_text = vlm.generate(
|
68 |
image,
|
69 |
prompt_text,
|
70 |
+
use_cache=True,
|
71 |
do_sample=True,
|
72 |
temperature=temperature,
|
73 |
top_k=top_k,
|