broadfield-dev commited on
Commit
861e674
·
verified ·
1 Parent(s): c4e9c2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -17,9 +17,10 @@ from assembler_docs import DOCUMENTATION
17
  app = Flask(__name__)
18
 
19
  # Hugging Face API token (set in Space settings)
20
- HF_TOKEN = os.getenv("HF_TOKEN")
21
- if not HF_TOKEN:
22
- raise ValueError("HF_TOKEN not set. Add it in Space settings.")
 
23
 
24
  # Log in to Hugging Face Hub with the token
25
  try:
 
17
  app = Flask(__name__)
18
 
19
  # Hugging Face API token (set in Space settings)
20
+ #HF_TOKEN = os.getenv("HF_TOKEN")
21
+ HF_TOKEN = ""
22
+ #if not HF_TOKEN:
23
+ # raise ValueError("HF_TOKEN not set. Add it in Space settings.")
24
 
25
  # Log in to Hugging Face Hub with the token
26
  try: