changed len
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ with open("tokenizer.pkl", "rb") as tokenizer_file:
|
|
19 |
tokenizer = pickle.load(tokenizer_file)
|
20 |
|
21 |
# Set maximum caption length and start/end tokens
|
22 |
-
max_caption_length =
|
23 |
start_token = "startseq"
|
24 |
end_token = "endseq"
|
25 |
|
|
|
19 |
tokenizer = pickle.load(tokenizer_file)
|
20 |
|
21 |
# Set maximum caption length and start/end tokens
|
22 |
+
max_caption_length = 34 # Adjust based on your model's training
|
23 |
start_token = "startseq"
|
24 |
end_token = "endseq"
|
25 |
|