Spaces:
Running
Running
Update app.py
Browse files
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, "
|
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, "[From NovelAI]\n\nYour account has been restricted due to unusual activity.\nFree generations are unavailable."
|
36 |
jwt_token = os.environ.get('NAI_API_KEY')
|
37 |
if ratio == "Landscape (1216x832)":
|
38 |
width = 1216
|