P01yH3dr0n commited on
Commit
a3bc818
1 Parent(s): e561aea

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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, timeout=20)
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