Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
7fe0e48
1
Parent(s):
3ffa9e4
Edit App
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from agent import initialize_agent, get_agent_config
|
|
17 |
|
18 |
# Setup for HTTP API Call to Amplitude Analytics
|
19 |
if 'device_id' not in globals():
|
20 |
-
device_id = str(uuid.uuid4())
|
21 |
print(f"DEBUG: Created new device id: {device_id}")
|
22 |
|
23 |
headers = {
|
|
|
17 |
|
18 |
# Setup for HTTP API Call to Amplitude Analytics
|
19 |
if 'device_id' not in globals():
|
20 |
+
globals()['device_id'] = str(uuid.uuid4())
|
21 |
print(f"DEBUG: Created new device id: {device_id}")
|
22 |
|
23 |
headers = {
|