Giter Club home page Giter Club logo

Comments (14)

mindactuate avatar mindactuate commented on July 19, 2024 1

Hi! At first, thank you so much for this amazing work!

I invested like 10 hours with trying to get the repo from Danber running. But unfortunately it didn't work because the reference "TTS" wasn't found inside Docker. Then I tried to use the model, which can be found at the repo from Danber, with Coqui TTS. But that did neither work because Coqui TTS could'nt handle the Multi-Speaker feature of the model (Coqui wasn't able to extract the different speakers "found 0 speakers"). And now I finally found your repo and your work. :)

Back to business:

The .exe does neither work for me. I tried to run it as admin. Then I tried to start the install.ps1 first via PowerShell.

I've found out the following:

PowerShell has its problems with executing "unfamiliar" scripts.

Therefore I started PowerShell as Admin and run the command

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine

You'll find info about that here.

Please be aware, that those execution policies have their place. It should not be that a bypass has to be "installed".

The next step is to move both scripts (run and install) from the /bin folder to /. Now you can start the install.ps1 first and run.ps1 next. The main.py will also download the model.

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024 1

Therefore I started PowerShell as Admin and run the command

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine

You'll find info about that here.

Yes, that is what I initially planned to do. But now I removed PowerShell completely and the installation process should be way easier and less prone to errors. :P

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

There should be no problem, just a warning.

PIP (package manager of python) is just telling you that there is a newer version available.

But it shouldn't affect the usage of the application, were you able to run it?

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

If i update pip version, following message is shown:

PermissionError: [Errno 13] Permission denied: 'C:\GameTTS\.venv\Scripts\python.exe'
Zugriff verweigert
At C:\GameTTS\install.ps1:21 char:5

  • python -m pip install -r .\requirements.txt
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], UnauthorizedAccessException
    • FullyQualifiedErrorId : System.UnauthorizedAccessException

Application shows:

PS C:\GameTTS> C:\GameTTS\run.ps1
python : Traceback (most recent call last):
At C:\GameTTS\run.ps1:8 char:5

  • python .\main.py
    
  • ~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError

    File ".\main.py", line 1, in
    import eel
    ModuleNotFoundError: No module named 'eel'

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

If I reinstall Python 3.8.9 the application start, but ends after following command:

PS C:\GameTTS> C:\GameTTS\run.ps1
INFO:root:Loaded checkpoint 'C:\GameTTS\vits\model\G_600000.pth'

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

Yeah I made some changes today, might have been in a broken state.

I've tried making it more accessible by wrapping the PowerShell scripts into an exe.

Would you mind giving it a try? https://github.com/lexkoro/GameTTS/releases/tag/v0.0.1

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

Tried it. Wont work for me.

Installing... might take a while.
.\GameTTS.exe : File C:\GameTTS-0.0.1\bin\install.ps1 cannot be loaded. The file
At line:1 char:1

  • .\GameTTS.exe
  •   + CategoryInfo          : NotSpecified: (File C:\GameTTS...aded. The file :String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

C:\GameTTS-0.0.1\bin\install.ps1 is not digitally signed. You cannot run this
script on the current system. For more information about running scripts and
setting execution policy, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecord
Exception
+ FullyQualifiedErrorId : UnauthorizedAccess
Installation failed

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

Can you try running as Administrator?
Otherwise I will try to get rid of PowerShell....

I think if you allow remote-signed scripts it will run.
Set-ExecutionPolicy RemoteSigned

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

I always install and run as administrator.

ExecutionPolicy is set to "bypass".

Maybe the problems result in using Windows 7?

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

Ich schreib mal deutsch... mittlerweile konnte ich die Installation zum laufen bekommen, dazu musste der Schreibschutz des gesamten GameTTS-Ordners aufgehoben werden und zusätzlich an den Dateien "install.ps1", "run.ps1" und "GameTTS.exe" per Rechtsklick: Eigenschaften/Sicherheit auf zulassen geklickt werden.

image

So lief die Installation per .exe dann erstmalig ohne Fehlermeldung durch... leider startet die Anwendung trotzdem nicht:

PS C:\GameTTS\bin> C:\GameTTS\bin\run.ps1
python : C:\Program Files\Python38\python.exe: can't open file '.\main.py': [Errno 2] No such file or directory
At C:\GameTTS\bin\run.ps1:8 char:5

  • python .\main.py
    
  • ~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (C:\Program File...le or directory:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError

from gametts.

prussiablade avatar prussiablade commented on July 19, 2024

Hi, ich noch mal. Du solltest in die Beschreibung der Installation reinnehmen, dass "Chrome" installiert sein muss und als Standardbrowser eingestellt ist. Wenn dann zusätzlich keine Firewall mehr im Weg ist, läuft das Programm auch 👯‍♂️

Bestehen Pläne das Tool auch auf anderen Browsern kompatibel zu machen?

Ansonsten sehr feines Programm das ungeahnte Möglichkeiten verschafft :)

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

Hi, an sich sollte es dann ein Fallback auf den Edge Browser geben, wenn Chrome nicht installiert ist.

Ich habe jetzt eine neue Version gepusht, der ganze Installationsprozess sollte jetzt deutlich einfacher ablaufen. :)
Gerne mal testen!

from gametts.

mindactuate avatar mindactuate commented on July 19, 2024

Great! I’ll test the new installation process tonight. Do you need help with something? It’s a great project and I’d be happy to help. :)

from gametts.

mindactuate avatar mindactuate commented on July 19, 2024

0.0.2 works great! 👍

from gametts.

Related Issues (19)

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.