Spaces:
Running
Running
Update app.py
Browse files
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
|