david-oplatka commited on
Commit
7fe0e48
·
1 Parent(s): 3ffa9e4
Files changed (1) hide show
  1. app.py +1 -1
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 = {