Closed abidlabs closed 11 months ago
Nice to see the roadmap. Can I add some thoughts:
theme=
and analytics_enabled=
. (We touched on this on #3957); maybe a hard look at all of the arguments for the classes to consider whether they're in the right place?**kwargs
wherever possible, for a less "anything goes" API, and on a similar note, more kwargs-only APIs (e.g. constructors).fn_index
-> fn_id
, and attempting to find human-readable function names when possibleThanks @akx for the suggestions!
removal of **kwargs wherever possible, for a less "anything goes" API, and on a similar note, more kwargs-only APIs (e.g. constructors).
I'm in favor of adding this to the milestone^
deprecation of various app-wide kwargs for Blockses or Interfaces, such as theme= and analytics_enabled=
I don't think we'll do this^ at this time as this is a pretty handy DX for simple apps
The other items are not backwards-incompatible so we can add after 4.0 release incrementally if they make sense.
Added deprecation and i18n to the list above
Most of this got done! What did not got turned into a new issue!
Tracking Issue for Gradio 4.0 (see milestone)
Goals
TODOs
Build End-to-End Test Suite
Strengthening Core Components (@hannahblair for frontend, @abidlabs for backend)
preview
andenable_preview
parameters (bothbool
) of Gallery are confusing and kind of overlap.Refactor components.py to simplify creation of new components (@aliabid94 @freddyaboulton)
IOComponent
update()
so it doesn't need to be explicitly written for every componentStandardize the data types between frontend/backend (@freddyaboulton)
Creating community components locally (@freddyaboulton @pngwn)
Dev environment for local components (@freddyaboulton @pngwn)
Share community components on Spaces and load components from Spaces (@freddyaboulton @pngwn)
Use
/upload
for all components (@aliabid94)Support dynamic configs (@aliabid94)
Make the queue enabled by default (@aliabid94)
Deprecation (@abidlabs)
gr.Timeseries
Internationalization (@hannahblair)
Have all endpoints named by default (@freddyaboulton)
When multiple events are submitted, ensure the final event runs (@dawoodkhan82)
_Properly expose and document
_js
parameter_ (@dawoodkhan82)_js
and we just need documentation (and renaming _js -> js)Blocks.load()
. Instead, we should add a separate mechanism for loading app-level js by specifying a filepath to theBlocks()
class itself