Spaces:
Sleeping
Sleeping
Set token env name to HF_X_TOKEN.
Browse files
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("
|
| 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("/")
|