Giter Club home page Giter Club logo

Comments (6)

kferterb avatar kferterb commented on June 30, 2024 3

In the 'requirements.txt' file, you need to change the gradio version to 'gradio==3.44.0'

from kohya_ss.

rabbitbytes avatar rabbitbytes commented on June 30, 2024

Same issue on linux, This was working 2 days ago for me.

/kohya_ss/kohya_gui.py", line 1, in
import gradio as gr
File "/home/$/kohya_ss/venv/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/$/kohya_ss/venv/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/home/4/kohya_ss/venv/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 8, in
from gradio_client.documentation import document, set_documentation_group
ImportError: cannot import name 'set_documentation_group' from 'gradio_client.documentation' (/home/$/kohya_ss/venv/lib/python3.10/site-packages/gradio_client/documentation.py)

As a test I a few versions of gradio all with errors of different kinds.

I did pull past branches 22.4.1 and 22.5.0 and all have the same error.
This leads me to think the issue is with gradio or something else.

from kohya_ss.

Jay123210599 avatar Jay123210599 commented on June 30, 2024

I have these problems, too. I'm on Windows, by the way.

Screenshot (366)
Screenshot (367)

from kohya_ss.

FreddyMr avatar FreddyMr commented on June 30, 2024

Same as me, on windows
新建文本文档.txt

from kohya_ss.

GuardSpot avatar GuardSpot commented on June 30, 2024

In the 'requirements.txt' file, you need to change the gradio version to 'gradio==3.44.0'

Fix the problem, thanks 😍

from kohya_ss.

mirroredlight avatar mirroredlight commented on June 30, 2024

Another valid variant - add gradio-client==0.8.1 in requirements.txt:

ftfy==6.1.1
gradio-client==0.8.1
gradio==3.36.1
huggingface-hub==0.20.1

I tested it in Docker, with v22.6.0 branch

from kohya_ss.

Related Issues (20)

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.