Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,12 @@ 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
@app.route('/')
|
| 20 |
def home():
|
|
|
|
| 14 |
client = InferenceClient(token=HF_TOKEN)
|
| 15 |
|
| 16 |
# Hardcoded negative prompt
|
| 17 |
+
NEGATIVE_PROMPT_FINGERS = """
|
| 18 |
+
missing fingers, extra fingers, elongated fingers, fused fingers,
|
| 19 |
+
mutated fingers, poorly drawn fingers, disfigured fingers,
|
| 20 |
+
too many fingers, deformed hands, extra hands, malformed hands,
|
| 21 |
+
blurry hands, disproportionate fingers
|
| 22 |
+
"""
|
| 23 |
|
| 24 |
@app.route('/')
|
| 25 |
def home():
|