Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ from fastapi import FastAPI
|
|
21 |
app = FastAPI()
|
22 |
|
23 |
|
24 |
-
def flip_text(prompt, negative_prompt
|
25 |
result = {"prompt": prompt,"negative_prompt": negative_prompt,"task": task,"steps": steps,"sampler": sampler,"cfg_scale": cfg_scale,"seed": seed, "width": width, "height": height}
|
26 |
print(result)
|
27 |
try:
|
|
|
21 |
app = FastAPI()
|
22 |
|
23 |
|
24 |
+
def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed, width=896, height=1152):
|
25 |
result = {"prompt": prompt,"negative_prompt": negative_prompt,"task": task,"steps": steps,"sampler": sampler,"cfg_scale": cfg_scale,"seed": seed, "width": width, "height": height}
|
26 |
print(result)
|
27 |
try:
|