Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wacdev committed Apr 30, 2023
1 parent 407cb84 commit e6a217d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature):
img_list=img_list,
num_beams=num_beams,
temperature=temperature,
max_new_tokens=300,
max_length=2000)[0]
max_new_tokens=3000,
max_length=9000)[0]
chatbot[-1][1] = llm_message
return chatbot, chat_state, img_list

Expand Down

0 comments on commit e6a217d

Please sign in to comment.