artificialguybr multimodalart HF staff commited on
Commit
390be1f
1 Parent(s): 387a5ac

add new params (#3)

Browse files

- add new params (d89f4752ae6f1b33531e8a53ff7550ee9656f604)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
41
  #token = os.getenv("API_TOKEN")
42
  payload = {
43
  "inputs": f"{prompt} {trigger_word}",
44
- "parameters":{"negative_prompt": "bad art, ugly, watermark, deformed"},
45
  }
46
  #headers = {"Authorization": f"Bearer {token}"}
47
 
 
41
  #token = os.getenv("API_TOKEN")
42
  payload = {
43
  "inputs": f"{prompt} {trigger_word}",
44
+ "parameters":{"negative_prompt": "bad art, ugly, watermark, deformed", "num_inference_steps": 30, "scheduler":"DPMSolverMultistepScheduler"},
45
  }
46
  #headers = {"Authorization": f"Bearer {token}"}
47