Giter VIP home page Giter VIP logo

Comments (5)

jhj0517 avatar jhj0517 commented on May 26, 2024 2

Hi, sorry for late reply.
I've added --faster_whisper_model_dir and --whisper_model_dir arg in #154.

Usage:

python app.py --faster_whisper_model_dir "C:\Whisper-WebUI\my_faster_whisper_model_path"

Or if you start the Web UI with user-start-webui.bat, you can modify the batch file as

set FASTER_WHISPER_MODEL_DIR=C:\Whisper-WebUI\my_faster_whisper_model_path

And the Web UI will use the custom path for the models.

So this is fixed in #154, I'm closing it.

If you encounter any problems with these updates, please re-open and let me know!

from whisper-webui.

jhj0517 avatar jhj0517 commented on May 26, 2024 1

Hi.
The model folder structure looks like

  1. whisper
./models/
└── Whisper/
    └── large-v3.pt
    └── large-v2.pt
    └── ...
  1. faster-whisper
./models/
└── Whisper/
    └── faster-whisper/
        └── models--Systran--faster-whisper-large-v3/
            └── ~
        └── models--Systran--faster-whisper-large-v2/
            └── ~

So if you already have the model locally, you can put the model into the appropriate folder by implementation and it will work.
And you need to set set DISABLE_FASTER_WHISPER=true in the user-start-webui.bat file if you have the Whisper model not the faster-whisper model.

from whisper-webui.

fernvenue avatar fernvenue commented on May 26, 2024 1

Wow, thanks!

from whisper-webui.

howellmvp avatar howellmvp commented on May 26, 2024

Hi,

Thanks for getting back to me, i made the recommended changes and still receive the same error.

In the terminal , it says
"An error occured while synchronizing the model Systran/faster-whisper-medium from the Hugging Face Hub:"
"Trying to load the model directly from the local cache if it exists."

it seems to keeps focusing on faster whisper even after disabling it like you suggested.

from whisper-webui.

fernvenue avatar fernvenue commented on May 26, 2024

Same here, that will be great if we have option to load local models.

from whisper-webui.

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.