Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
a3bc818
1
Parent(s):
e561aea
Update utils.py
Browse files
utils.py
CHANGED
@@ -101,7 +101,7 @@ def generate_novelai_image(
|
|
101 |
payload['parameters']['extra_noise_seed'] = seed
|
102 |
# Send the POST request
|
103 |
try:
|
104 |
-
response = requests.post(url, json=payload, headers=headers
|
105 |
except:
|
106 |
return None, {'message': 'NAI response timeout'}
|
107 |
|
|
|
101 |
payload['parameters']['extra_noise_seed'] = seed
|
102 |
# Send the POST request
|
103 |
try:
|
104 |
+
response = requests.post(url, json=payload, headers=headers)
|
105 |
except:
|
106 |
return None, {'message': 'NAI response timeout'}
|
107 |
|