Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ import logging
|
|
10 |
|
11 |
hf_token = os.getenv("API_KEY")
|
12 |
|
13 |
-
# Set the Hugging Face logging to error only to avoid sensitive info in logs
|
14 |
-
logging.set_verbosity_error()
|
15 |
|
16 |
# If the key is found, use it to authenticate
|
17 |
if hf_token:
|
|
|
10 |
|
11 |
hf_token = os.getenv("API_KEY")
|
12 |
|
|
|
|
|
13 |
|
14 |
# If the key is found, use it to authenticate
|
15 |
if hf_token:
|