lunarflu commited on
Commit ·
1a4a3a8
1
Parent(s): 07cd144
[dfif] GRADIOTEST_TOKEN
Browse files
app.py
CHANGED
|
@@ -36,11 +36,11 @@ import shutil # for doing image movement magic
|
|
| 36 |
# lock generation after ~120s, can change
|
| 37 |
# restructure using slash commands? generate -> deepfloydif -> prompt -> thread -> combined -> upscale -> thread
|
| 38 |
|
| 39 |
-
|
| 40 |
DISCORD_TOKEN = os.environ.get("GRADIOTEST_TOKEN", None)
|
| 41 |
|
| 42 |
-
df = Client("huggingface-projects/IF",
|
| 43 |
-
jojogan = Client("akhaliq/JoJoGAN",
|
| 44 |
|
| 45 |
|
| 46 |
intents = discord.Intents.default()
|
|
|
|
| 36 |
# lock generation after ~120s, can change
|
| 37 |
# restructure using slash commands? generate -> deepfloydif -> prompt -> thread -> combined -> upscale -> thread
|
| 38 |
|
| 39 |
+
GRADIOTEST_TOKEN = os.getenv('HF_TOKEN')
|
| 40 |
DISCORD_TOKEN = os.environ.get("GRADIOTEST_TOKEN", None)
|
| 41 |
|
| 42 |
+
df = Client("huggingface-projects/IF", GRADIOTEST_TOKEN)
|
| 43 |
+
jojogan = Client("akhaliq/JoJoGAN", GRADIOTEST_TOKEN)
|
| 44 |
|
| 45 |
|
| 46 |
intents = discord.Intents.default()
|