gradio/client/python/gradio_client/__init__.py
Abubakar Abid d0688b3c25
Files should now be supplied as file(...) in the Client, and some fixes to gr.load() as well (#7575)
* more fixes for gr.load()

* client

* add changeset

* format

* docstring

* add assertion

* warning

* add changeset

* add changeset

* changes

* fixes

* more fixes

* fix files

* add test for dir

* add changeset

* Delete .changeset/giant-bears-check.md

* add changeset

* changes

* add changeset

* print

* format

* add changeset

* docs

* add to tests

* format

* add changeset

* move compatibility code out

* fixed

* changes

* changes

* factory method

* add changeset

* changes

* changes

* sse v2.1

* file()

* changes

* typing

* changes

* cleanup

* changes

* changes

* changes

* fixes

* changes

* fix

* add changeset

* changes

* more changes

* abc

* test

* add payloads

* lint

* test

* lint

* changes

* payload

* fixes

* fix tests

* fix

* clean

* fix frontend

* lint

* add changeset

* cleanup

* format

* get examples to show up in loaded spaces

* add filedata prop to frontend

* add skip component parameter

* address feedback

* with meta

* load

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 12:29:02 -08:00

9 lines
150 B
Python

from gradio_client.client import Client
from gradio_client.utils import __version__, file
__all__ = [
"Client",
"file",
"__version__",
]