Code Monkey home page Code Monkey logo

Comments (19)

pngwn avatar pngwn commented on July 30, 2024 5

I'll fix this next week, it requires a refactor of the @gradio/utils package. We need to split internal utils from general utils.

from gradio.

ruhuansanmei avatar ruhuansanmei commented on July 30, 2024 4

I still have 2 days!
Jokes aside I'll get to it shortly. Hopefully we can get this out in the next release.
good job,then I can do my echarts example,thank you.
https://github.com/ruhuansanmei/gradio_echarts_example

the quick example https://gradio-echarts.lihu666.com/

from gradio.

pngwn avatar pngwn commented on July 30, 2024 3

I still have 2 days!

Jokes aside I'll get to it shortly. Hopefully we can get this out in the next release.

from gradio.

alpaolo avatar alpaolo commented on July 30, 2024 1

This error does not occur if python==3.11.9 and node==v18.20.3, and gradio==4.36.1
This is the answer on Custom component --template Label:
'''No custom components were found in G:\GRADIO\CUSTOM_COMPONENTS\superlabel. It is likely that dev mode does not work properly. Please pass the --gradio-path and --python-path CLI arguments so that gradio uses the right executables."
And nothing load in browser'''

If supply python-path and gradio-path as arguments:
Screenshot 2024-07-02 184337

I like Gradio but this kind of error made me crazy ( too much dependency: Node, Svelte, Vite... )

from gradio.

lcombaldieu avatar lcombaldieu commented on July 30, 2024 1

I'm having the same issue on Mac with SimpleImage template

from gradio.

alpaolo avatar alpaolo commented on July 30, 2024

The same for me on windows 11 and Wsl2. Node 18 and Node 20 Python 3.10 and 3.12 always the same error. This kind of error doesn't appear only using Button as template. #8669
344430995-1e080a92-a04d-4a62-86ec-1955503c10c8

from gradio.

freddyaboulton avatar freddyaboulton commented on July 30, 2024

@pngwn looks like it could be related to the chatbot changes related to loading components? The issue does not happen in version 4.36.1

from gradio.

khengyun avatar khengyun commented on July 30, 2024

@pngwn looks like it could be related to the chatbot changes related to loading components? The issue does not happen in version 4.36.1

this issue still happend in gradio version 4.36.1

from gradio.

freddyaboulton avatar freddyaboulton commented on July 30, 2024

I can't repro on 4.36.1 with the textbox template!

from gradio.

khengyun avatar khengyun commented on July 30, 2024

This error does not occur if python==3.11.9 and node==v18.20.3, it not affected by gradio version

from gradio.

alpaolo avatar alpaolo commented on July 30, 2024

Error on wsl2 python==3.11.9 and node==v18.20.3, and gradio==4.37.2
Screenshot 2024-07-02 231631

from gradio.

alpaolo avatar alpaolo commented on July 30, 2024

I can't repro on 4.36.1 with the textbox template!

Work only with Button template, with other template component no, Textbox too.
Is possible there's a combination between components and other frameworks ( Node ? Vite ? Compiler ?) that creates a bad environment.
Furthermore, the code in button.svelte calls a minimum quantity of modules....

from gradio.

abmnv avatar abmnv commented on July 30, 2024

Thanks for looking into this issue. Is there a workaround for now? Need to prototype Chatbot component ASAP.

from gradio.

HwwwwwwwH avatar HwwwwwwwH commented on July 30, 2024

I'll fix this next week, it requires a refactor of the @gradio/utils package. We need to split internal utils from general utils.

Sry to bother, How's this thing going?

from gradio.

abmnv avatar abmnv commented on July 30, 2024

Thanks for addressing this issue. However, I tried version 4.38.0 and Chatbot component still doesn't work (the same error). Only SimpleTextbox works for me.

from gradio.

pngwn avatar pngwn commented on July 30, 2024

Hmm. Weird. Did you make sure to create a new one? The fix should apply to all components.

from gradio.

abmnv avatar abmnv commented on July 30, 2024

Yes, I did. I will check what other components are affected.

from gradio.

abmnv avatar abmnv commented on July 30, 2024

SimpleDropdown, Dropdown, SimpleImage and Code components work but Image and Gallery component fail. May be only "simple" components have been fixed?

from gradio.

ruhuansanmei avatar ruhuansanmei commented on July 30, 2024

I still have 2 days!

Jokes aside I'll get to it shortly. Hopefully we can get this out in the next release.
good job,then I can do my echarts example,thank you.
https://github.com/ruhuansanmei/gradio_echarts_example

from gradio.

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.