Open Col0ring opened 7 months ago
Ah, interesting. This is definitely an issue, i'll take a look!
Hi, apologies for the late follow up. We haven't had a chance to look into this issue, but the Gradio codebase has changed quite significantly since this issue was created, particularly with the release of Gradio 5. Could you let us know if this is still an issue in the latest version of Gradio (pip install --upgrade gradio
)? Thanks!
Yes, this issue still exists in Gradio 5.
Thanks for confirming @Col0ring
Describe the bug
gradio cc dev / build
doesn't work with modifying theFRONTEND_DIR
property on the Component python class after4.28.0
version.It seems the error was caused by this piece of code. The modifications to
FRONTEND_DIR
need to be synchronized here.gradio/cli/commands/components/build.py
Have you searched existing issues? ๐
Reproduction
frontend
tofrontend/textbox
.FRONTEND_DIR
property and rungradio cc dev
.class textbox(FormComponent): """ Creates a very simple textbox for user to enter string input or display string output. """ FRONTEND_DIR = "../../frontend/textbox"
...
Severity
Blocking usage of gradio