Spaces:
Build error
Build error
Commit ·
7b8ddf1
1
Parent(s): f7c3d27
key addressed
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ load_dotenv()
|
|
| 21 |
|
| 22 |
#hfapi_key = getpass("Enter you HuggingFace access token:")
|
| 23 |
hfapi_key = os.getenv("Mytoken")
|
| 24 |
-
|
| 25 |
if not hfapi_key:
|
| 26 |
raise ValueError("HUGGINGFACE_API_KEY not found in environment variables")
|
| 27 |
|
|
|
|
| 21 |
|
| 22 |
#hfapi_key = getpass("Enter you HuggingFace access token:")
|
| 23 |
hfapi_key = os.getenv("Mytoken")
|
| 24 |
+
print(hfapi_key)
|
| 25 |
if not hfapi_key:
|
| 26 |
raise ValueError("HUGGINGFACE_API_KEY not found in environment variables")
|
| 27 |
|