Geek7 commited on
Commit
75bce22
·
verified ·
1 Parent(s): be3beec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -14,13 +14,7 @@ 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
- 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():
 
14
  client = InferenceClient(token=HF_TOKEN)
15
 
16
  # Hardcoded negative prompt
17
+ HARDCODED_NEGATIVE_PROMPT = """missing fingers, extra fingers, elongated fingers"""
 
 
 
 
 
 
18
 
19
  @app.route('/')
20
  def home():