File size: 4,374 Bytes
c8be32d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
from gradio import (
    _simple_templates,
    components,
    layouts,
    processing_utils,
    templates,
    themes,
)
from gradio.blocks import Blocks
from gradio.chat_interface import ChatInterface
from gradio.components import (
    HTML,
    JSON,
    AnnotatedImage,
    Annotatedimage,
    Audio,
    BarPlot,
    Button,
    Chatbot,
    ChatMessage,
    Checkbox,
    CheckboxGroup,
    Checkboxgroup,
    ClearButton,
    Code,
    ColorPicker,
    DataFrame,
    Dataframe,
    Dataset,
    DateTime,
    DownloadButton,
    Dropdown,
    DuplicateButton,
    File,
    FileExplorer,
    Gallery,
    Highlight,
    HighlightedText,
    Highlightedtext,
    Image,
    ImageEditor,
    Json,
    Label,
    LinePlot,
    LoginButton,
    LogoutButton,
    Markdown,
    MessageDict,
    Model3D,
    MultimodalTextbox,
    Number,
    ParamViewer,
    Plot,
    Radio,
    ScatterPlot,
    Slider,
    State,
    Text,
    Textbox,
    Timer,
    UploadButton,
    Video,
    component,
)
from gradio.components.audio import WaveformOptions
from gradio.components.image_editor import Brush, Eraser
from gradio.data_classes import FileData
from gradio.events import (
    DeletedFileData,
    EventData,
    KeyUpData,
    LikeData,
    SelectData,
    on,
)
from gradio.exceptions import Error
from gradio.external import load
from gradio.flagging import (
    CSVLogger,
    FlaggingCallback,
    HuggingFaceDatasetSaver,
    SimpleCSVLogger,
)
from gradio.helpers import (
    Info,
    Progress,
    Warning,
    make_waveform,
    skip,
    update,
)
from gradio.helpers import create_examples as Examples  # noqa: N812
from gradio.interface import Interface, TabbedInterface, close_all
from gradio.layouts import Accordion, Column, Group, Row, Tab, TabItem, Tabs
from gradio.oauth import OAuthProfile, OAuthToken
from gradio.renderable import render
from gradio.routes import Request, mount_gradio_app
from gradio.templates import (
    Files,
    ImageMask,
    List,
    Matrix,
    Mic,
    Microphone,
    Numpy,
    Paint,
    PlayableVideo,
    Sketchpad,
    TextArea,
)
from gradio.themes import Base as Theme
from gradio.utils import NO_RELOAD, FileSize, get_package_version, set_static_paths
from gradio.wasm_utils import IS_WASM

if not IS_WASM:
    from gradio.cli import deploy
    from gradio.ipython_ext import load_ipython_extension

__version__ = ...
__all__ = [
    "_simple_templates",
    "templates",
    "processing_utils",
    "components",
    "layouts",
    "themes",
    "Blocks",
    "ChatInterface",
    "HTML",
    "JSON",
    "AnnotatedImage",
    "Annotatedimage",
    "Audio",
    "BarPlot",
    "Button",
    "Chatbot",
    "ChatMessage",
    "Checkbox",
    "CheckboxGroup",
    "Checkboxgroup",
    "ClearButton",
    "Code",
    "ColorPicker",
    "DataFrame",
    "Dataframe",
    "Dataset",
    "DateTime",
    "DownloadButton",
    "Dropdown",
    "DuplicateButton",
    "File",
    "FileExplorer",
    "Gallery",
    "Highlight",
    "HighlightedText",
    "Highlightedtext",
    "Image",
    "ImageEditor",
    "Json",
    "Label",
    "LinePlot",
    "LoginButton",
    "LogoutButton",
    "Markdown",
    "MessageDict",
    "Model3D",
    "MultimodalTextbox",
    "Number",
    "ParamViewer",
    "Plot",
    "Radio",
    "ScatterPlot",
    "Slider",
    "State",
    "Text",
    "Textbox",
    "Timer",
    "UploadButton",
    "Video",
    "component",
    "WaveformOptions",
    "Brush",
    "Eraser",
    "FileData",
    "DeletedFileData",
    "EventData",
    "KeyUpData",
    "LikeData",
    "SelectData",
    "on",
    "Error",
    "load",
    "CSVLogger",
    "FlaggingCallback",
    "HuggingFaceDatasetSaver",
    "SimpleCSVLogger",
    "Info",
    "Progress",
    "Warning",
    "make_waveform",
    "skip",
    "update",
    "Examples",
    "Interface",
    "TabbedInterface",
    "close_all",
    "Accordion",
    "Column",
    "Group",
    "Row",
    "Tab",
    "TabItem",
    "Tabs",
    "OAuthProfile",
    "OAuthToken",
    "render",
    "Request",
    "mount_gradio_app",
    "Files",
    "ImageMask",
    "List",
    "Matrix",
    "Mic",
    "Microphone",
    "Numpy",
    "Paint",
    "PlayableVideo",
    "Sketchpad",
    "TextArea",
    "Theme",
    "NO_RELOAD",
    "FileSize",
    "get_package_version",
    "set_static_paths",
    "IS_WASM",
    "deploy",
    "load_ipython_extension",
]