Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model downloads broken: Update gdown to 4.7.3 #24

Closed
ShoryuKyzan opened this issue Jun 6, 2024 · 2 comments
Closed

Model downloads broken: Update gdown to 4.7.3 #24

ShoryuKyzan opened this issue Jun 6, 2024 · 2 comments

Comments

@ShoryuKyzan
Copy link

Problem

controllable_talknet model downloads (at least these) are broken. Error is access denied.
These use gdown. Update gdown to fix.
See this issue: wkentaro/gdown#292

Other gdown based model downloads likely broken as well.
Manual model installs take alot longer since server restart is required.

Solution

At a minimum, update gdown to 4.7.3
This line:

gdown==4.7.1 \

Testing

I've tested 4.7.3 and it works for controllable_talknet model downloads.

@hydrusbeta
Copy link
Owner

Hello @ShoryuKyzan. Thank you so much for bringing this issue to my attention along with its solution. I have updated the appropriate image in the Docker Hub repository so it now uses gdown version 5.2.0 and I verified that it fixes the issue. You can update Hay Say by following the instructions here:
https://github.com/hydrusbeta/hay_say_ui?tab=readme-ov-file#updating-hay-say

Alternatively, You can run a couple of commands to update gdown within the container without needing to redownload the entire image. First, you will need the name of the Hay Say UI container. Start Hay Say and execute the following command:

docker container ls

Under the "IMAGE" column, one of the rows will have the value "hydrusbeta/hay_say:hay_say_ui". Note the corresponding value under the NAMES columns:
image
Now execute the following two commands, replacing "hay_say_ui-hay_say_ui-1" with the name of your container if it is different:

docker exec -it hay_say_ui-hay_say_ui-1 python -m pip uninstall gdown
docker exec -it hay_say_ui-hay_say_ui-1 python -m pip install gdown==5.2.0

Then, restart Hay Say.

@ShoryuKyzan
Copy link
Author

docker exec -it hay_say_ui-hay_say_ui-1 python -m pip uninstall gdown
docker exec -it hay_say_ui-hay_say_ui-1 python -m pip install gdown==5.2.0

Then, restart Hay Say.

Good thinking! I ended up rebuilding the docker image XD
Was nervous about going a major version up, but I'm glad to hear it works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants