Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,21 +20,21 @@ default_negative_prompt = (
|
|
20 |
|
21 |
|
22 |
def generate_image_model_1(prompt, negative_prompt):
|
23 |
-
prompt += "
|
24 |
try:
|
25 |
return model_1(prompt, negative_prompt=negative_prompt)
|
26 |
except TypeError:
|
27 |
return model_1(prompt)
|
28 |
|
29 |
def generate_image_model_2(prompt, negative_prompt):
|
30 |
-
prompt += "
|
31 |
try:
|
32 |
return model_2(prompt, negative_prompt=negative_prompt)
|
33 |
except TypeError:
|
34 |
return model_2(prompt)
|
35 |
|
36 |
def generate_image_model_3(prompt, negative_prompt):
|
37 |
-
prompt += "
|
38 |
try:
|
39 |
return model_3(prompt, negative_prompt=negative_prompt)
|
40 |
except TypeError:
|
|
|
20 |
|
21 |
|
22 |
def generate_image_model_1(prompt, negative_prompt):
|
23 |
+
prompt += " 2k"
|
24 |
try:
|
25 |
return model_1(prompt, negative_prompt=negative_prompt)
|
26 |
except TypeError:
|
27 |
return model_1(prompt)
|
28 |
|
29 |
def generate_image_model_2(prompt, negative_prompt):
|
30 |
+
prompt += " 8k"
|
31 |
try:
|
32 |
return model_2(prompt, negative_prompt=negative_prompt)
|
33 |
except TypeError:
|
34 |
return model_2(prompt)
|
35 |
|
36 |
def generate_image_model_3(prompt, negative_prompt):
|
37 |
+
prompt += " 10k"
|
38 |
try:
|
39 |
return model_3(prompt, negative_prompt=negative_prompt)
|
40 |
except TypeError:
|