Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ class ScreenVLMEngine:
|
|
| 169 |
eos_token_id=100257,
|
| 170 |
pad_token_id=100257,
|
| 171 |
#repetition_penalty=1.15, # Penalizes sequential tag repetition
|
| 172 |
-
num_beams=2, # Uses Beam Search instead of Greedy Decoding (slower but more precise)
|
| 173 |
#no_repeat_ngram_size=4 # Prevents redundant coordinate loops
|
| 174 |
|
| 175 |
)
|
|
|
|
| 169 |
eos_token_id=100257,
|
| 170 |
pad_token_id=100257,
|
| 171 |
#repetition_penalty=1.15, # Penalizes sequential tag repetition
|
| 172 |
+
#num_beams=2, # Uses Beam Search instead of Greedy Decoding (slower but more precise)
|
| 173 |
#no_repeat_ngram_size=4 # Prevents redundant coordinate loops
|
| 174 |
|
| 175 |
)
|