coqui-ai / stt-model-manager

Coqui STT Model Manager - install, manage and try out Coqui STT models from the Model Zoo
https://coqui.ai
Mozilla Public License 2.0
24 stars 17 forks source link

Install errror #15

Closed zubairahmed-ai closed 3 years ago

zubairahmed-ai commented 3 years ago

After following the install instructions and providing my email I get the following error

image

reuben commented 3 years ago

Are there any relevant logs on the console you're running the model manager from?

zubairahmed-ai commented 3 years ago

@reuben No I couldn't find any logs, please let me know where to look for this and I'll send

reuben commented 3 years ago

The terminal where you ran stt-model-manager from.

zubairahmed-ai commented 3 years ago

Nothing I just ran it again, all I get is below

stt-model-manager
Installed models: ModelIndex(models=[])
 * Serving Flask app 'coqui_stt_model_manager.server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
Current installs: []
Started server listening on http://127.0.0.1:38450 ...
Current installs: []
reuben commented 3 years ago

Weird, looks like somehow the page is not talking to the server you're running there. Which would explain the error message. Can you verify if, on the page where you click install, in the URL, the callback_url parameter matches what's printed on the console in the "Started server" line? In particular the port number should be the same.

reuben commented 3 years ago

Nothing I just ran it again, all I get is below

stt-model-manager
Installed models: ModelIndex(models=[])
 * Serving Flask app 'coqui_stt_model_manager.server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
Current installs: []
Started server listening on http://127.0.0.1:38450 ...
Current installs: []

Also, just to be sure, when you ran it this time, you tried to install a model right? You didn't just run it without interacting with it.

zubairahmed-ai commented 3 years ago

Weird, looks like somehow the page is not talking to the server you're running there. Which would explain the error message. Can you verify if, on the page where you click install, in the URL, the callback_url parameter matches what's printed on the console in the "Started server" line? In particular the port number should be the same.

Yes it does match, I verified it too it's this one https://coqui.ai/english/coqui/v0.9.3?callback_url=http://127.0.0.1:38450/install_model&name=English%20STT%20v0.9.3#download

zubairahmed-ai commented 3 years ago

And yes I tried to install the model, there was nothing to interface with since there is no existing model

reuben commented 3 years ago

If the URL matches the logs on the terminal, but nothing else gets printed, then it can only be some problem on the website or your browser. Does the browser console have any error in the install page before/after you click install?

zubairahmed-ai commented 3 years ago

Good question, yes the console has the following error, not sure what's causing it though

image

reuben commented 3 years ago

Perhaps an overzealous ad blocker or misconfigured browser (not respecting CORS).

zubairahmed-ai commented 3 years ago

You're right about this too, I am using Brave and it's known to block ads, tried this in Chrome and voila!

image

willymateo commented 2 years ago

Perhaps an overzealous ad blocker or misconfigured browser (not respecting CORS).

This solution also works for me.