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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -32,6 +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
  jwt_token = os.environ.get('NAI_API_KEY')
36
  if ratio == "Landscape (1216x832)":
37
  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, "Image generation is not available (account dead)"
36
  jwt_token = os.environ.get('NAI_API_KEY')
37
  if ratio == "Landscape (1216x832)":
38
  width = 1216