Spaces:
Sleeping
Sleeping
carlosgonzalezmartinez
commited on
Commit
•
a097779
1
Parent(s):
bf84bf3
Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ def predict(user_input,company):
|
|
196 |
with log_file.open("a") as f:
|
197 |
f.write(json.dumps(
|
198 |
{
|
199 |
-
'user_input': user_input, company,
|
200 |
'retrieved_context': context_for_query,
|
201 |
'model_response': prediction
|
202 |
}
|
|
|
196 |
with log_file.open("a") as f:
|
197 |
f.write(json.dumps(
|
198 |
{
|
199 |
+
'user_input': [user_input, company],
|
200 |
'retrieved_context': context_for_query,
|
201 |
'model_response': prediction
|
202 |
}
|