Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
40b8f83
1
Parent(s):
d8ba16d
Update app.py
Browse files
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,
|
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": "(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)", "num_inference_steps": 30, "scheduler":"DPMSolverMultistepScheduler"},
|
45 |
}
|
46 |
#headers = {"Authorization": f"Bearer {token}"}
|
47 |
|