Spaces:
Sleeping
Sleeping
alexanderHSG commited on
Commit ·
8945dc3
1
Parent(s): fed3e6a
Update app.py
Browse files
app.py
CHANGED
|
@@ -261,7 +261,7 @@ def track_user_interaction(user_input, action):
|
|
| 261 |
global user_id
|
| 262 |
|
| 263 |
user_id = str(user_id)
|
| 264 |
-
connection = sqlite3.connect('user_interactions.db')
|
| 265 |
cursor = connection.cursor()
|
| 266 |
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
| 267 |
user_input_str = str(user_input)
|
|
|
|
| 261 |
global user_id
|
| 262 |
|
| 263 |
user_id = str(user_id)
|
| 264 |
+
connection = sqlite3.connect('/data/user_interactions.db')
|
| 265 |
cursor = connection.cursor()
|
| 266 |
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
| 267 |
user_input_str = str(user_input)
|