Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
def generate_minecraft_command(description):
|
7 |
headers = {
|
8 |
'Content-Type': 'application/json',
|
9 |
-
'Authorization': '
|
10 |
}
|
11 |
|
12 |
payload = {
|
|
|
6 |
def generate_minecraft_command(description):
|
7 |
headers = {
|
8 |
'Content-Type': 'application/json',
|
9 |
+
'Authorization': f'Bearer {os.getenv("API_KEY")}'
|
10 |
}
|
11 |
|
12 |
payload = {
|