Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ load_dotenv()
|
|
15 |
DISCORD_TOKEN = os.getenv('dsTOK')
|
16 |
HF_API_KEY = os.getenv('HFREAD')
|
17 |
|
18 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
19 |
headers = {"Authorization": f"Bearer {HF_API_KEY}"}
|
20 |
|
21 |
# Set up logging
|
@@ -98,4 +98,3 @@ async def help_custom(ctx):
|
|
98 |
# Run the bot
|
99 |
bot.run(DISCORD_TOKEN)
|
100 |
|
101 |
-
|
|
|
15 |
DISCORD_TOKEN = os.getenv('dsTOK')
|
16 |
HF_API_KEY = os.getenv('HFREAD')
|
17 |
|
18 |
+
API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2.5-1024px-aesthetic"
|
19 |
headers = {"Authorization": f"Bearer {HF_API_KEY}"}
|
20 |
|
21 |
# Set up logging
|
|
|
98 |
# Run the bot
|
99 |
bot.run(DISCORD_TOKEN)
|
100 |
|
|