Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,6 +73,7 @@ generation_config=GenerationConfig(
|
|
| 73 |
top_p=0.001,
|
| 74 |
repetition_penalty=1.0,
|
| 75 |
max_new_tokens=2048,
|
|
|
|
| 76 |
)
|
| 77 |
|
| 78 |
def build_prompt(image, user_text):
|
|
|
|
| 73 |
top_p=0.001,
|
| 74 |
repetition_penalty=1.0,
|
| 75 |
max_new_tokens=2048,
|
| 76 |
+
use_cache=True
|
| 77 |
)
|
| 78 |
|
| 79 |
def build_prompt(image, user_text):
|