nyanko7 commited on
Commit
f3de245
1 Parent(s): 10817d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -42,6 +42,9 @@ def generate_novelai_image(input_text, quality_tags, seed, negative_prompt, scal
42
  elif ratio == "Portrait (832x1216)":
43
  width = 832
44
  height = 1216
 
 
 
45
 
46
  # Check if quality tags are provided and append to input
47
  final_input = input_text
 
42
  elif ratio == "Portrait (832x1216)":
43
  width = 832
44
  height = 1216
45
+ else:
46
+ width = 1024
47
+ height = 1024
48
 
49
  # Check if quality tags are provided and append to input
50
  final_input = input_text