Giter Site home page Giter Site logo

Comments (8)

FujiwaraChoki avatar FujiwaraChoki commented on August 15, 2024 1

Interesting - I will disable local subtitles for now and look into what the issue is. Thanks for explaining so well.

I think after you turned it off you turned off all future steps of generation?


MoviePy - Writing audio in ../temp/a4268bf6-9f0a-4efa-a69a-78764f9c06f3.mp3

MoviePy - Done.                                                                                   

[-] Local subtitle generation has been disabled for the time being.

[-] Exiting.

Edit: I looked at the source, if you don't use Assembly_AI then the app just kills itself. Which is weird cause the .env said that feature is optional.

I literally just said I will turn it off.

from moneyprinter.

FujiwaraChoki avatar FujiwaraChoki commented on August 15, 2024 1

So ist that mean (until this issue solved) it can't generate the finale video right now?

You can, just provide your AssemblyAI API Key.

from moneyprinter.

FujiwaraChoki avatar FujiwaraChoki commented on August 15, 2024

Interesting - I will disable local subtitles for now and look into what the issue is. Thanks for explaining so well.

from moneyprinter.

donburgareli avatar donburgareli commented on August 15, 2024

I'm facing a issue with the same function while building a Docker image of the application.
Im suspicious that the issue is on "AudioFileClip", since it raises the following error:

[10/11] RUN python3 Backend/main.py:
1.441 Traceback (most recent call last):
1.441 File "Backend/main.py", line 4, in
1.441 from video import *
1.441 File "/Backend/video.py", line 59, in
1.441 def __generate_subtitles_locally(sentences: list[str], audio_clips: list[AudioFileClip]) -> str:
1.441 TypeError: 'type' object is not subscriptable

from moneyprinter.

FujiwaraChoki avatar FujiwaraChoki commented on August 15, 2024

I see the error, it's a list not List.

This will have to be imported from typing.

Can you open a PR?

from moneyprinter.

donburgareli avatar donburgareli commented on August 15, 2024

Sure, done.

from moneyprinter.

jdriselvato avatar jdriselvato commented on August 15, 2024

Interesting - I will disable local subtitles for now and look into what the issue is. Thanks for explaining so well.

I think after you turned it off you turned off all future steps of generation?

MoviePy - Writing audio in ../temp/a4268bf6-9f0a-4efa-a69a-78764f9c06f3.mp3
MoviePy - Done.                                                                                   
[-] Local subtitle generation has been disabled for the time being.
[-] Exiting.

Edit: I looked at the source, if you don't use Assembly_AI then the app just kills itself. Which is weird cause the .env said that feature is optional.

from moneyprinter.

raniaamina avatar raniaamina commented on August 15, 2024

So ist that mean (until this issue solved) it can't generate the finale video right now?

from moneyprinter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.