Vision-CAIR commited on
Commit
3e7fe60
β€’
1 Parent(s): 670561f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def gradio_ask(user_message, chatbot, chat_state):
90
 
91
 
92
  def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature):
93
- llm_message = chat.answer(conv=chat_state, img_list=img_list, max_new_tokens=1000, num_beams=1, temperature=temperature, max_length=2000)[0]
94
  chatbot[-1][1] = llm_message
95
  return chatbot, chat_state, img_list
96
 
 
90
 
91
 
92
  def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature):
93
+ llm_message = chat.answer(conv=chat_state, img_list=img_list, max_new_tokens=300, num_beams=1, temperature=temperature, max_length=2000)[0]
94
  chatbot[-1][1] = llm_message
95
  return chatbot, chat_state, img_list
96