Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
import cloudscraper
|
| 2 |
import os
|
| 3 |
|
| 4 |
-
API_KEY = "0be4b0d76de6cf65b81e0a2de91b137f432e5a66e6d0c622d73c4b83e613e948"
|
|
|
|
|
|
|
| 5 |
print(API_KEY)
|
| 6 |
headers = {
|
| 7 |
"Authorization": f"Bearer {API_KEY}",
|
|
|
|
| 1 |
import cloudscraper
|
| 2 |
import os
|
| 3 |
|
| 4 |
+
#API_KEY = "0be4b0d76de6cf65b81e0a2de91b137f432e5a66e6d0c622d73c4b83e613e948"
|
| 5 |
+
print(os.getenv('MODEL_REPO_ID'))
|
| 6 |
+
API_KEY = os.getenv('MODEL_REPO_ID')
|
| 7 |
print(API_KEY)
|
| 8 |
headers = {
|
| 9 |
"Authorization": f"Bearer {API_KEY}",
|