Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def index():
|
|
85 |
@app.route('/generate', methods=['GET'])
|
86 |
def generate_image():
|
87 |
prompt = request.args.get("prompt", "")
|
88 |
-
negative_prompt = request.args.get("negative_prompt", "")
|
89 |
steps = int(request.args.get("steps", 35))
|
90 |
cfg_scale = float(request.args.get("cfgs", 7))
|
91 |
sampler = request.args.get("sampler", "DPM++ 2M Karras")
|
|
|
85 |
@app.route('/generate', methods=['GET'])
|
86 |
def generate_image():
|
87 |
prompt = request.args.get("prompt", "")
|
88 |
+
negative_prompt = request.args.get("negative_prompt", "bad hands, low quality, low quality, unnatural, dirty eyes, distorted eyes, low quality eyes, distorted arms, distorted legs, distorted face, 3 legs, 3 hands, anatomically Bad, 6 fingers, 7 fingers, less fingers, more fingers,")
|
89 |
steps = int(request.args.get("steps", 35))
|
90 |
cfg_scale = float(request.args.get("cfgs", 7))
|
91 |
sampler = request.args.get("sampler", "DPM++ 2M Karras")
|