[SUGGESTION] - Break the python code apart #208
altryne
started this conversation in
Feature suggestions
Replies: 1 comment
-
This definitely needs doing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we extract the "ui" part out of the webui.py script, and then use it with an import, then we can do a few things :
Develop UI faster - this would be possible as we could import the Gradio UI into a separate python file and run with debug=True (that's actually how I've been doing the dev, but it takes a long time to copy/paste back and forth)
Write stubs for all functions we use to load the ui dev faster
Merge syncs and PR reviews will be easier
Beta Was this translation helpful? Give feedback.
All reactions