gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.41k stars 2.52k forks source link

Gradio 4.0 Tracking Issue #4359

Closed abidlabs closed 11 months ago

abidlabs commented 1 year ago

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)

Refactor components.py to simplify creation of new components (@aliabid94 @freddyaboulton)

Standardize 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)

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)

akx commented 1 year ago

Nice to see the roadmap. Can I add some thoughts:

abidlabs commented 1 year ago

Thanks @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.

abidlabs commented 1 year ago

Added deprecation and i18n to the list above

freddyaboulton commented 11 months ago

Most of this got done! What did not got turned into a new issue!