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

unidic #210

Open
makhyoun5 opened this issue Jan 10, 2025 · 5 comments
Open

unidic #210

makhyoun5 opened this issue Jan 10, 2025 · 5 comments

Comments

@makhyoun5
Copy link

I'm stuck in installing Unidic 3.1.0 after downloading , i tried to download it manually and i didn't know in which folder .

@ROBERT-MCDOWELL
Copy link
Collaborator

on every issue open, you should provide the terminal logs and OS, CPU, GPU, or we cannot help.
start to run ebook2audiobook.cmd windows or .sh for linux and it should be automatic.
if not. use the docker.

@Canapin
Copy link

Canapin commented Jan 11, 2025

Using Docker on Windows.
The download URL for UniDic is very slow.
It successfully downloads and installs UniDic, but each time I run the container, it says:

UniDic dictionary not found or incomplete. Downloading now...

And starts downloading it again (very slowly).

@ROBERT-MCDOWELL
Copy link
Collaborator

we don't control the unidic servers. wait a little and try later

@Canapin
Copy link

Canapin commented Jan 11, 2025

The download is slow, but works. The problem for me is that it re-downloads UniDic each time I run the container.

docker run -it --rm --gpus all -p 7860:7860 --platform=linux/amd64 athomasson2/ebook2audiobook python app.py"
UniDic dictionary not found or incomplete. Downloading now...
download url: https://cotonoha-dic.s3-ap-northeast-1.amazonaws.com/unidic-3.1.0.zip
Dictionary version: 3.1.0+2021-08-31
Downloading UniDic v3.1.0+2021-08-31...
unidic-3.1.0.zip: 100%|██████████████████████████████████████████████████████████████| 526M/526M [07:18<00:00, 1.20MB/s]
Finished download.
Downloaded UniDic v3.1.0+2021-08-31 to /home/user/.local/lib/python3.12/site-packages/unidic/dicdir
* Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.

@ROBERT-MCDOWELL
Copy link
Collaborator

this is not normal, I think @DrewThomasson has an update for that.

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

3 participants