Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def run_lora(prompt, progress=gr.Progress(track_tqdm=True)):
|
|
27 |
trigger_word = default_lora["trigger_word"]
|
28 |
payload = {
|
29 |
"inputs": f"{prompt} {trigger_word}",
|
30 |
-
"parameters":{"negative_prompt": "bad art, ugly, watermark, deformed
|
31 |
}
|
32 |
|
33 |
# Add a print statement to display the API request
|
|
|
27 |
trigger_word = default_lora["trigger_word"]
|
28 |
payload = {
|
29 |
"inputs": f"{prompt} {trigger_word}",
|
30 |
+
"parameters":{"negative_prompt": "bad art, ugly, watermark, deformed", "num_inference_steps": 30, "scheduler":"DPMSolverMultistepScheduler"},
|
31 |
}
|
32 |
|
33 |
# Add a print statement to display the API request
|