Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ async def chat(query,history,sources,reports,subtype,year):
|
|
| 257 |
"answer": history[-1][1],
|
| 258 |
"time": timestamp,
|
| 259 |
}
|
| 260 |
-
save_logs(
|
| 261 |
except Exception as e:
|
| 262 |
print(e)
|
| 263 |
|
|
|
|
| 257 |
"answer": history[-1][1],
|
| 258 |
"time": timestamp,
|
| 259 |
}
|
| 260 |
+
save_logs(logs)
|
| 261 |
except Exception as e:
|
| 262 |
print(e)
|
| 263 |
|