alanwnl commited on
Commit
473ca9b
1 Parent(s): 18de6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,7 +16,6 @@ uploaded_file = form.file_uploader("Choose a file")
16
  text_prompt = form.text_area('Text Prompt', value='Hello, how are you?')
17
  submit_button = form.form_submit_button(label='Submit')
18
 
19
-
20
  if submit_button :
21
  df = pd.read_csv(uploaded_file)
22
 
@@ -44,7 +43,7 @@ if submit_button :
44
  llm=chat_model,
45
  df=df,
46
  verbose=True,
47
- agent_type=AgentType.OPENAI_FUNCTIONS,
48
  handle_parsing_errors="Check your output and make sure it conforms!",
49
  )
50
 
 
16
  text_prompt = form.text_area('Text Prompt', value='Hello, how are you?')
17
  submit_button = form.form_submit_button(label='Submit')
18
 
 
19
  if submit_button :
20
  df = pd.read_csv(uploaded_file)
21
 
 
43
  llm=chat_model,
44
  df=df,
45
  verbose=True,
46
+ max_tokens_limit=2048,
47
  handle_parsing_errors="Check your output and make sure it conforms!",
48
  )
49