lanbogao commited on
Commit
4bfa0b3
1 Parent(s): 3fca3bd

Set token env name to HF_X_TOKEN.

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -4,7 +4,7 @@ from fastapi.responses import JSONResponse
4
  from typing import Annotated
5
  from fetchYoutubeSubtitle import fetchSubtitle, fetchSubtitleUrls
6
 
7
- token = os.getenv("APP_KEY")
8
  app = FastAPI()
9
 
10
  @app.get("/")
 
4
  from typing import Annotated
5
  from fetchYoutubeSubtitle import fetchSubtitle, fetchSubtitleUrls
6
 
7
+ token = os.getenv("HF_X_TOKEN")
8
  app = FastAPI()
9
 
10
  @app.get("/")