DigiP-AI commited on
Commit
6ce8c23
·
verified ·
1 Parent(s): 9ee2324

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ from fastapi import FastAPI
21
  app = FastAPI()
22
 
23
 
24
- def flip_text(prompt, negative_prompt=False, task, steps=35, sampler="DPM++ 2M Karras", cfg_scale=7, seed=-1, 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:
 
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: