Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|