Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ class Prodia:
|
|
13 |
self.base = base or "https://api.prodia.com/v2"
|
14 |
self.headers = {
|
15 |
"X-Prodia-Key": api_key,
|
16 |
-
"Authorization": f"Bearer {os.getenv(
|
17 |
}
|
18 |
|
19 |
def generate(self, params):
|
|
|
13 |
self.base = base or "https://api.prodia.com/v2"
|
14 |
self.headers = {
|
15 |
"X-Prodia-Key": api_key,
|
16 |
+
"Authorization": f"Bearer {os.getenv('API_KEY')}"
|
17 |
}
|
18 |
|
19 |
def generate(self, params):
|