Viewing a single comment thread. View all comments

Batuhan_Y OP t1_is39n5l 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.

4

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?

1

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.

2

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.

1

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.

1

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.

1

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.

1

inglandation t1_is61d3u wrote

Okay, thanks! I'd run it locally but it looks like it would be a bit much for my computer.

1

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).

1

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.

1

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.

1