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

gradio 4 removed Box #59

Open
jimregan opened this issue Feb 27, 2024 · 4 comments · Fixed by #60
Open

gradio 4 removed Box #59

jimregan opened this issue Feb 27, 2024 · 4 comments · Fixed by #60
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request

Comments

@jimregan
Copy link
Contributor

Removing weight norm...
[+] hifigan_univ_v1 loaded!
Traceback (most recent call last):
  File "/usr/local/bin/matcha-tts-app", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/matcha/app.py", line 171, in main
    with gr.Box():
AttributeError: module 'gradio' has no attribute 'Box'

See: gradio-app/gradio#6815

@jimregan
Copy link
Contributor Author

FWIW, this is the Dockerfile I'm sending my students:

FROM ubuntu:22.04
RUN apt update
RUN apt install -y git python3-pip libsndfile1
RUN apt install -y automake autoconf libtool
RUN git clone https://github.com/rhasspy/espeak-ng && \
    cd espeak-ng && \
    bash autogen.sh && ./configure && make -j8 && make install && \
    ldconfig
RUN pip install git+https://github.com/shivammehta25/Matcha-TTS.git
RUN pip install gradio==3.48.0 # Breaks with gradio 4
CMD ["matcha-tts-app"]

(pinning the version works)

@shivammehta25
Copy link
Owner

I have to update the interface, for now downgrade gradio to => gradio==3.43.2

jimregan added a commit to jimregan/Matcha-TTS that referenced this issue Feb 27, 2024
@shivammehta25 shivammehta25 self-assigned this Feb 27, 2024
@jimregan jimregan mentioned this issue Feb 27, 2024
5 tasks
@shivammehta25 shivammehta25 added bug Something isn't working dependencies Pull requests that update a dependency file labels Feb 27, 2024
@shivammehta25
Copy link
Owner

I will keep it open for now to remember to update the interface post the deadline.

@shivammehta25 shivammehta25 reopened this Feb 27, 2024
@jimregan
Copy link
Contributor Author

I think the dockerfile is also kind of useful, as there are some things that aren't totally obvious (like the fork of the fork of espeak D:)

@shivammehta25 shivammehta25 added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants