Batuhan_Y
Batuhan_Y OP t1_iu3ysed wrote
Reply to comment by Nisekoi_ in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
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.
Batuhan_Y OP t1_islo00q wrote
Reply to comment by Brief-Mongoose-6256 in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
It varies from site to site. I’m thinking of adding a file uploader.
Batuhan_Y OP t1_ise9id4 wrote
Reply to comment by Brief-Mongoose-6256 in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
Yes you can but you need to edit the code in order to do that.
Batuhan_Y OP t1_is6guu8 wrote
Reply to comment by inglandation in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
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.
Batuhan_Y OP t1_is627j7 wrote
Reply to comment by inglandation in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
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).
Batuhan_Y OP t1_is60gfd wrote
Reply to comment by inglandation in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
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.
Batuhan_Y OP t1_is4oq97 wrote
Reply to comment by dhruvdh in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
Sure. Here’s the link of the repo:
https://github.com/BatuhanYilmaz26/Auto-Subtitled-Video-Generator
Batuhan_Y OP t1_is4oggi wrote
Reply to comment by Sea_Wonder_6414 in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
You need to build the interface and select the streamlit option when creating a huggingface space. It takes care of the rest.
Batuhan_Y OP t1_is3hm53 wrote
Reply to comment by masterspeler in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
That's a nice idea. I've seen a twitter bot doing that. I don't know how to create a reddit or twitter bot atm. I have free time so I can work on it.
If anyone wants to collaborate, I'd be more than happy.
Batuhan_Y OP t1_is3dxsv wrote
Reply to comment by cheecheepong in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
You're right. Also needs more processing power. I'm still working on the app, trying to improve.
Thank you for your interest.
Batuhan_Y OP t1_is3d8cc wrote
Reply to comment by cheecheepong in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
Yes it worked on spaces. I've tried tiny, base and small models. Tried with 3 to 5 min. long videos.
Batuhan_Y OP t1_is39n5l wrote
Reply to comment by cheecheepong in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
Ran into same error now. Changing the model size worked somehow. I'm not sure what the problem is.
I tried it on my localhost many times. I think it might be related to huggingface spaces.
Batuhan_Y OP t1_is389wu wrote
Reply to comment by cheecheepong in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
The video is age restricted, I assume pytube can't reach that video, so there is no input to the model.
Can you try with a different video?
Batuhan_Y OP t1_iu9f9f5 wrote
Reply to comment by Nisekoi_ in [Project] I've built an Auto Subtitled Video Generator using Streamlit and OpenAI Whisper, hosted on HuggingFace spaces. by Batuhan_Y
Not whisper but ffmpeg can do that.