Skip to content

Commit

Permalink
fix first page only parsing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWithTim committed Dec 30, 2024
2 parents d5efd2c + b59cea8 commit f2905b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/serve/gradio_block_arena_vision_anony.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def add_text(

text = text[:BLIND_MODE_INPUT_CHAR_LEN_LIMIT] # Hard cut-off
post_processed_text = _prepare_text_with_pdf(text, pdfs)

for i in range(num_sides):
post_processed_text = _prepare_text_with_image(
states[i], post_processed_text, images, csam_flag=csam_flag
Expand Down

0 comments on commit f2905b9

Please sign in to comment.