Update app.py
Browse files
app.py
CHANGED
@@ -14,15 +14,13 @@ HF_TOKEN = os.environ.get("HF_TOKEN") # Ensure to set your Hugging Face token i
|
|
14 |
client = InferenceClient(token=HF_TOKEN)
|
15 |
|
16 |
# Hardcoded negative prompt
|
17 |
-
HARDCODED_NEGATIVE_PROMPT = """
|
18 |
-
out of frame, extra fingers, mutated hands,
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
(too many fingers), (((long neck)))"""
|
25 |
-
|
26 |
|
27 |
@app.route('/')
|
28 |
def home():
|
|
|
14 |
client = InferenceClient(token=HF_TOKEN)
|
15 |
|
16 |
# Hardcoded negative prompt
|
17 |
+
HARDCODED_NEGATIVE_PROMPT = """
|
18 |
+
ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands,
|
19 |
+
poorly drawn hands, poorly drawn face, mutation, deformed, blurry, bad anatomy,
|
20 |
+
bad proportions, extra limbs, cloned face, disfigured, gross proportions,
|
21 |
+
malformed limbs, missing arms, missing legs, extra arms, extra legs,
|
22 |
+
mutated hands, fused fingers, too many fingers, long neck
|
23 |
+
"""
|
|
|
|
|
24 |
|
25 |
@app.route('/')
|
26 |
def home():
|