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.
cheecheepong t1_is3cxb4 wrote
>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.
Interesting. What model size did you end up using? Did it work eventually on the huggingface spaces?
Batuhan_Y OP t1_is3d8cc wrote
Yes it worked on spaces. I've tried tiny, base and small models. Tried with 3 to 5 min. long videos.
cheecheepong t1_is3dq0j wrote
Definitely needs more development for robustness but otherwise a great start! I just got it working on a 1:30 video.
Batuhan_Y OP t1_is3dxsv wrote
You're right. Also needs more processing power. I'm still working on the app, trying to improve.
Thank you for your interest.
dhruvdh t1_is3wryt wrote
I am not familiar with huggingface spaces, but do you intend to share source on github or colab?
Batuhan_Y OP t1_is4oq97 wrote
Sure. Here’s the link of the repo:
https://github.com/BatuhanYilmaz26/Auto-Subtitled-Video-Generator
inglandation t1_is5ym5t wrote
Did you manage to solve this error? I'm getting it too. My video is unlisted and lasts 10:41 minutes.
I tried switching to the large model but it takes forever, it's still running.
Batuhan_Y OP t1_is60gfd wrote
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.
inglandation t1_is61d3u wrote
Okay, thanks! I'd run it locally but it looks like it would be a bit much for my computer.
Batuhan_Y OP t1_is627j7 wrote
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).
inglandation t1_is68ong wrote
Okay, thanks! Very useful app btw. I'd be nice if I could somehow replace the autogenerated YouTube subtitles by those. They're much better.
Batuhan_Y OP t1_is6guu8 wrote
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.
Viewing a single comment thread. View all comments