-
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move input files into temporary directory #483
base: master
Are you sure you want to change the base?
Conversation
bd0e097
to
4d47cd4
Compare
… deleting the cached files before everything is finished
4d47cd4
to
cc4d389
Compare
Hi. This is handled by gradio's Right now the default value the application uses is I think it's better to add |
well, i am not sure what the best approach might be. I was also thinking about copying the data into the temporary folder instead of moving. Regading the issue with BGM disabled and then the diarization might fail after the transcription, one could also think about loading the audio at the begining (where the |
Thank you for explaining your driving. I agree that some people might run into this problem more often than I thought, because the default caching age in the app might be too short now—currently it's 1 hour. Originally the So the desirable way I think now is to increase the default caching age —probably 1 day or more— in the app and document it on the wiki page. |
I was thinking about the queing, when two users or two different tabs click the "GENERATE SUBTITLE FILE"-Button. What do you think?: |
Sorry for late reply. I didn't have a time.
This is right point, It seriazably work if it's in the same queue, so this won't work anyway. In my opinion I see no problem if we set the caching age to a high value, but if we have to deal with this then it would be the way to add something in the |
Related issues / PRs. Summarize issues.
Gradio is copies every input file into a cache directory and then provides the path to those files.
The problem is, that Gradio regularly cleans out the cache directory (currently every file older than 1 hour is deleted)
This is a problem if you have multiple files in the queue or if BGM removal is disabled and diarization is enabled.
If the transcription in one of the above cases takes longer than one hour, the input files are gone and everything goes south.
Summarize Changes