nyanko7 commited on
Commit
eb8e7c4
1 Parent(s): 08670c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def save_to_s3(image_data, payload, file_name):
32
 
33
  # Function to handle the NovelAI API request
34
  def generate_novelai_image(input_text, quality_tags, seed, negative_prompt, scale, ratio, sampler):
35
- return None, "Image generation is not available (account dead)"
36
  jwt_token = os.environ.get('NAI_API_KEY')
37
  if ratio == "Landscape (1216x832)":
38
  width = 1216
 
32
 
33
  # Function to handle the NovelAI API request
34
  def generate_novelai_image(input_text, quality_tags, seed, negative_prompt, scale, ratio, sampler):
35
+ return None, "Your account has been restricted due to unusual activity. Free generations are unavailable."
36
  jwt_token = os.environ.get('NAI_API_KEY')
37
  if ratio == "Landscape (1216x832)":
38
  width = 1216