jonathanjordan21 commited on
Commit
17370e6
·
verified ·
1 Parent(s): e24b691

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,7 +17,8 @@ def process_inputs(user_input_json, session_id_json, project_id_json, chat_url,
17
  "project_id": project_id,
18
  "chat_url": [chat_url] * len(user_input),
19
  "update_variables": update_vars,
20
- "output_variables": output_vars
 
21
  })
22
 
23
  return df
 
17
  "project_id": project_id,
18
  "chat_url": [chat_url] * len(user_input),
19
  "update_variables": update_vars,
20
+ "output_variables": output_vars,
21
+ "answer": [[] * len(x) if isinstance(x, list) else [] for x in user_input]
22
  })
23
 
24
  return df