adibak commited on
Commit
8b78f58
·
1 Parent(s): 257a4d5

make pdf acceptable

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -317,6 +317,7 @@ def set_up_chat_ui():
317
  prompt = st.chat_input(
318
  placeholder=APP_TEXT['chat_placeholder'],
319
  max_chars=GlobalConfig.LLM_MODEL_MAX_INPUT_LENGTH,
 
320
  )
321
  # make it stick near bottom
322
  prompt_container.float("bottom:40px;width:50%;z-index:999;font-size:10pt;")
 
317
  prompt = st.chat_input(
318
  placeholder=APP_TEXT['chat_placeholder'],
319
  max_chars=GlobalConfig.LLM_MODEL_MAX_INPUT_LENGTH,
320
+ file_type=['pdf', ],
321
  )
322
  # make it stick near bottom
323
  prompt_container.float("bottom:40px;width:50%;z-index:999;font-size:10pt;")