DigiP-AI commited on
Commit
f9cb470
·
verified ·
1 Parent(s): 51e5b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ from fastapi import FastAPI
22
  app = FastAPI()
23
  @app.get("/")
24
 
25
- def query(prompt, negative_prompt, task, steps=35, sampler="DPM++ 2M Karras", cfg_scale=7, seed=-1, style_name, width=896, height=1152):
26
  result = {prompt:"prompt", negative_prompt:"negative_prompt", task:"task", steps:"steps", sampler:"sampler", cfg_scale:"cfg_scale", seed:"seed" , style_name:"style_name", width:"width" , height:"height" }
27
  print(result)
28
  try:
 
22
  app = FastAPI()
23
  @app.get("/")
24
 
25
+ def query(prompt, negative_prompt, task, style_name, steps=35, sampler="DPM++ 2M Karras", cfg_scale=7, seed=-1, width=896, height=1152):
26
  result = {prompt:"prompt", negative_prompt:"negative_prompt", task:"task", steps:"steps", sampler:"sampler", cfg_scale:"cfg_scale", seed:"seed" , style_name:"style_name", width:"width" , height:"height" }
27
  print(result)
28
  try: