AnnaRPT commited on
Commit
2cc087d
·
verified ·
1 Parent(s): 76a1856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -8,14 +8,6 @@ env_password = os.environ.get('APP_PASSWORD')
8
 
9
  print("env user:", env_username)
10
  print("env pass:", env_password)
11
-
12
- if not hf_token:
13
- raise ValueError("Hugging Face token is not set in the environment variable APP_API_KEY")
14
- if env_username:
15
- raise ValueError("Hugging Face token is not set in the environment variable APP_USERNAME")
16
- if not env_password:
17
- raise ValueError("Hugging Face token is not set in the environment variable APP_PASSWORD")
18
-
19
  # Print the token to confirm it's being retrieved (optional, remove in production)
20
  print(f"Hugging Face token: {hf_token}")
21
 
 
8
 
9
  print("env user:", env_username)
10
  print("env pass:", env_password)
 
 
 
 
 
 
 
 
11
  # Print the token to confirm it's being retrieved (optional, remove in production)
12
  print(f"Hugging Face token: {hf_token}")
13