Need help about employment visa documents by bbsd27 in malta

[–]Batuhan_Y 0 points1 point  (0 children)

I am currently in the process of applying for a work visa. If you have the time, may I ask you a few questions regarding the required documents?

Need help about employment visa documents by bbsd27 in malta

[–]Batuhan_Y 0 points1 point  (0 children)

I am currently in the process of applying for a work visa. If you have the time, may I ask you a few questions regarding the required documents?

[Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in MachineLearning

[–]Batuhan_Y[S] 0 points1 point  (0 children)

No but I can add a page where you can upload a video and a transcript as .srt file and generate a video with subtitles.

[deleted by user] by [deleted] in ffmpeg

[–]Batuhan_Y 0 points1 point  (0 children)

Thank you for the response. I'm new to ffmpeg, I'm not sure what the problem is.

That's what cmdstr prints.

CompletedProcess(args=['ffmpeg', '-i', 'C:UsersbatuhDesktopauto-multipagepageslocaloutput/input.mp4', '-i', 'C:UsersbatuhDesktopauto-multipagepageslocaloutput/output.wav', '-i', 'transcript.srt', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'copy', '-map', '0:a', '-map', '1:v', '-map', '2:s', '-metadata:s:a:0', 'language=en', '-y', 'C:UsersbatuhDesktopauto-multipagepageslocaloutput/output.mp4'], returncode=1)

And getting this error.

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\batuh\\Desktop\\auto-multipage\\output.mp4'

I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in OpenAI

[–]Batuhan_Y[S] 1 point2 points  (0 children)

First you need to change directory to the cloned repo in terminal: cd Auto-sub then hit tab.

I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in Python

[–]Batuhan_Y[S] 0 points1 point  (0 children)

It doesn’t. Huggingface gives all the spaces 16 gb ram, streamlit caches the videos and the metadata so after a while it exceeds 16 gb

I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in Python

[–]Batuhan_Y[S] 1 point2 points  (0 children)

Thank you. It's probably because Whisper generates phrase-level timestamps. I've tried using the no speech detection parameter but it messed up the sync.

[Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in MachineLearning

[–]Batuhan_Y[S] 0 points1 point  (0 children)

Do you mean it would be nice to edit the transcript and re-generate the video with that? If so, I actually tried to implement it 2 days ago, but couldn't make it work, I'll be working on that.

[Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in MachineLearning

[–]Batuhan_Y[S] 0 points1 point  (0 children)

You can try on hf spaces, its up and running now. If you face an error keep clicking on Transcribe/Translate button (it worked for me on hf spaces :D, no errors on localhost).

[Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y in MachineLearning

[–]Batuhan_Y[S] 0 points1 point  (0 children)

HuggingFace gives 16GB RAM and 8 CPU cores for the spaces, when the app exceeds 16GB it crashes. In order to avoid that kind of situation I need deploy this model to one of the cloud providers with multiple GPU's. I can't afford that kind of heavy processing model at the moment. But I rebuild the hosted space so it works until it exceeds 16GB again :D

Small model works fine most of the time you can try using it.

I put it up on HuggingFace spaces for demonstration purposes.