Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ preSetPrompt = "cute tall slender athletic 20+ caucasian woman. gorgeous face. p
|
|
13 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
14 |
|
15 |
lock = RLock()
|
16 |
-
HF_TOKEN = os.environ.get("
|
17 |
|
18 |
# API Password Generation
|
19 |
API_PASSWORD = secrets.token_urlsafe(16)
|
|
|
13 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
14 |
|
15 |
lock = RLock()
|
16 |
+
HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None
|
17 |
|
18 |
# API Password Generation
|
19 |
API_PASSWORD = secrets.token_urlsafe(16)
|