thejagstudio commited on
Commit
ce45728
·
1 Parent(s): 6cf1c3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import json
5
  import time
6
  import re
7
  from strgen import StringGenerator as SG
 
8
 
9
  app = Flask(__name__)
10
 
@@ -222,7 +223,8 @@ def diffuser():
222
  "enableHiresFix": enableHiresFix,
223
  "model": "lexica-aperture-v2",
224
  "numImagesGenerated": 0,
225
- "id": visitorId
 
226
  })
227
  headers = {
228
  'authority': 'z.lexica.art',
 
5
  import time
6
  import re
7
  from strgen import StringGenerator as SG
8
+ import uuid
9
 
10
  app = Flask(__name__)
11
 
 
223
  "enableHiresFix": enableHiresFix,
224
  "model": "lexica-aperture-v2",
225
  "numImagesGenerated": 0,
226
+ "id": visitorId,
227
+ "requestId":uuid.uuid4(),
228
  })
229
  headers = {
230
  'authority': 'z.lexica.art',