ASR-FairBench-Server / ASR_Server.py

Commit History

Revert "1)Modified code to accomodate microsoft asr_models also which require their custom code to run, hence set trust_remote_code=True in pipe, 2)Added extra error handling, 3) Now, pipe is loaded in main thread instead of background thread."
dde7018
Running

satyamr196 commited on

1)Modified code to accomodate microsoft asr_models also which require their custom code to run, hence set trust_remote_code=True in pipe, 2)Added extra error handling, 3) Now, pipe is loaded in main thread instead of background thread.
16b9706

satyamr196 commited on

Added email notification whenever transcription for any new model is starts
6d12745

satyamr196 commited on

1) added model id sanitization i.e. removing invaid character as per hugging face \
fdc104d

satyamr196 commited on

removed return_timestamps=True parameter from pipe
90d2e58

satyamr196 commited on

bug fix : ASR_model = openai/whisper-tiny, csv_transcript, csv_result values were hardcoded, making them query string dependent inside generateTranscript
f21777c

satyamr196 commited on

minor bug : double quotes inside double quotes not allowed in csv_path string
8e62829

satyamr196 commited on

Major Update : created all the routes reqired, add utils folder containing helper fxns
547836e

satyamr196 commited on

added cpu score check to see the performance of allocated cpu in free tier
fb5d66c

satyamr196 commited on

update output_dir = data instead of /data which was wrong and removed GPU available check because transformer library automatically uses GPU if available
2f5d98f

satyamr196 commited on

minor bug {idx+1} is a set so can't multiply by 100
e02ab90

satyamr196 commited on

write files to /data directory becuase ./ directory is not allowed to write in HF spaces
0e84bb7

satyamr196 commited on

small bug fixed : df used before initialization
a4cec90

satyamr196 commited on

corrected status route and variable job_status
acec6fc

satyamr196 commited on

added code to track transcription process running in background
0cb2c03

satyamr196 commited on

fixing the error - WORKER TIMEOUT says gunicorn because it's taking too long to respond, hence using threading to run generateTranscription fxn in background
f928012

satyamr196 commited on

bug fix try : ./cache write permission not given
ac711b2

satyamr196 commited on

added generate transcript fxn
30b7603

satyamr196 commited on

Add application file
bf90550

satyamr196 commited on