dataset-tldr / main.py

Commit History

Add path_in_repo parameter to CommitScheduler constructor
0a15754

davanstrien HF staff commited on

Update votes file path
5ee18ab

davanstrien HF staff commited on

Update CommitScheduler instantiation
1a058f6

davanstrien HF staff commited on

Refactor main.py
cc9c5eb

davanstrien HF staff commited on

Add startup event logging
51484a8

davanstrien HF staff commited on

Add logging and improve error handling
97809c3

davanstrien HF staff commited on

Update repository ID to "davanstrien/summary-ratings"
c80be55

davanstrien HF staff commited on

Add HTTPException for invalid token validation
2d83410

davanstrien HF staff commited on

Refactor code and remove unnecessary CORS middleware
419fdd6

davanstrien HF staff commited on

Remove unnecessary print statements in receive_vote function
a296dd1

davanstrien HF staff commited on

Fix typo in Access-Control-Allow-Headers header
75141de

davanstrien HF staff commited on

Update Access-Control-Allow-Origin value in receive_vote function
0724f28

davanstrien HF staff commited on

Update CORS origins in main.py
3b354b4

davanstrien HF staff commited on

Add CORS support and update vote endpoint response headers
becbbb8

davanstrien HF staff commited on

Add FastAPI import and update unauthorized response
88c2e3b

davanstrien HF staff commited on

Add validation to the 'vote' field in the Vote model
c892caa

davanstrien HF staff commited on

Add token parameter to CommitScheduler constructor and update authorization response
6ca460a

davanstrien HF staff commited on

Update imports in main.py
6d8e1bf

davanstrien HF staff commited on

Refactor code and update dependencies
3b22eeb

davanstrien HF staff commited on

Add root endpoint redirect to /docs
c0cfc84

davanstrien HF staff commited on

Add asynccontextmanager and lifespan to main.py
6ac4ade

davanstrien HF staff commited on

Update max number of requests to datasets server
94ae8af

davanstrien HF staff commited on

Add language_threshold_percent parameter to predict_rows function
f9987db

davanstrien HF staff commited on

Update main.py
4aeaa3b
verified

davanstrien HF staff commited on

Update FastAPI import to include Query
6d286c3

davanstrien HF staff commited on

Import logging module and reorder imports
fd21f2f

davanstrien HF staff commited on

Refactor code and add type annotations
1b8ac52

davanstrien HF staff commited on

Refactor imports and remove unused code
5a41550

davanstrien HF staff commited on

Add language parsing functionality and update dependencies
bc828c5

davanstrien HF staff commited on

Refactor predict_rows function to include raw predictions
a2d40e3

davanstrien HF staff commited on

Add logging and comment out unused code
76a283e

davanstrien HF staff commited on

Add caching functionality for model download and prediction
d350b44

davanstrien HF staff commited on

Add fastapi.responses and starlette.responses imports
41869c7

davanstrien HF staff commited on

Add HF_HUB_ENABLE_HF_TRANSFER environment variable
f1bc1ad

davanstrien HF staff commited on

Update API endpoint for language prediction
8cdc3f0

davanstrien HF staff commited on

Update dependencies and add Dockerfile
aec7db1

davanstrien HF staff commited on