Comments (19)
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.
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.
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.
This error does not occur if
python==3.11.9
andnode==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:
I like Gradio but this kind of error made me crazy ( too much dependency: Node, Svelte, Vite... )
from gradio.
I'm having the same issue on Mac with SimpleImage
template
from gradio.
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
from gradio.
@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.
@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.
I can't repro on 4.36.1 with the textbox template!
from gradio.
This error does not occur if python==3.11.9
and node==v18.20.3
, it not affected by gradio version
from gradio.
Error on wsl2 python==3.11.9 and node==v18.20.3, and gradio==4.37.2
from gradio.
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.
Thanks for looking into this issue. Is there a workaround for now? Need to prototype Chatbot
component ASAP.
from gradio.
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.
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.
Hmm. Weird. Did you make sure to create a new one? The fix should apply to all components.
from gradio.
Yes, I did. I will check what other components are affected.
from gradio.
SimpleDropdown
, Dropdown
, SimpleImage
and Code
components work but Image
and Gallery
component fail. May be only "simple" components have been fixed?
from gradio.
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)
- Ability to move tabs HOT 1
- Remove use of emojis 👻 HOT 2
- Redesign tabs
- Improve drag and drop area UX
- Refresh button designs
- Dataframe refresh HOT 3
- Better data capture story? HOT 3
- Gradio Demo and FastAPI Docs are executed simultaneously despite having the queue set up. HOT 1
- gr.DateTime documentation issue <- duplicated TextBox, not DateTime. HOT 3
- Gradio Chatbot Doesn't Have Outputs HOT 3
- SSR
- Markdown latex bmatrix wrapped error
- MultimodalTextbox - file_types seems not to be working? HOT 2
- Add option to loop audio component when it is played HOT 1
- Can't hide clear button with `clear_button=None` HOT 1
- Gradio embedded in Static HTML cannot cp to clipboard HOT 1
- No response when using gr.image in chatinterface in second round HOT 1
- Disable like/dislike from input message HOT 1
- Uncaught (in promise) DOMException: Could not start video source HOT 1
- Scrollbar of chatbot doesn't work if examples are included HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.