Spaces:
Runtime error
Runtime error
Upload 3001 files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +33 -0
- gradio/.dockerignore +2 -0
- gradio/CHANGELOG.md +0 -0
- gradio/__init__.py +281 -0
- gradio/__main__.py +4 -0
- gradio/__pycache__/__init__.cpython-314.pyc +0 -0
- gradio/__pycache__/__main__.cpython-314.pyc +0 -0
- gradio/__pycache__/analytics.cpython-314.pyc +0 -0
- gradio/__pycache__/block_function.cpython-314.pyc +0 -0
- gradio/__pycache__/blocks.cpython-314.pyc +3 -0
- gradio/__pycache__/blocks_events.cpython-314.pyc +0 -0
- gradio/__pycache__/brotli_middleware.cpython-314.pyc +0 -0
- gradio/__pycache__/chat_interface.cpython-314.pyc +0 -0
- gradio/__pycache__/component_meta.cpython-314.pyc +0 -0
- gradio/__pycache__/context.cpython-314.pyc +0 -0
- gradio/__pycache__/data_classes.cpython-314.pyc +0 -0
- gradio/__pycache__/events.cpython-314.pyc +0 -0
- gradio/__pycache__/exceptions.cpython-314.pyc +0 -0
- gradio/__pycache__/external.cpython-314.pyc +0 -0
- gradio/__pycache__/external_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/flagging.cpython-314.pyc +0 -0
- gradio/__pycache__/helpers.cpython-314.pyc +0 -0
- gradio/__pycache__/http_server.cpython-314.pyc +0 -0
- gradio/__pycache__/i18n.cpython-314.pyc +0 -0
- gradio/__pycache__/image_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/interface.cpython-314.pyc +0 -0
- gradio/__pycache__/ipython_ext.cpython-314.pyc +0 -0
- gradio/__pycache__/mcp.cpython-314.pyc +0 -0
- gradio/__pycache__/media.cpython-314.pyc +0 -0
- gradio/__pycache__/monitoring_dashboard.cpython-314.pyc +0 -0
- gradio/__pycache__/networking.cpython-314.pyc +0 -0
- gradio/__pycache__/node_server.cpython-314.pyc +0 -0
- gradio/__pycache__/oauth.cpython-314.pyc +0 -0
- gradio/__pycache__/pipelines.cpython-314.pyc +0 -0
- gradio/__pycache__/pipelines_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/processing_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/queueing.cpython-314.pyc +0 -0
- gradio/__pycache__/ranged_response.cpython-314.pyc +0 -0
- gradio/__pycache__/renderable.cpython-314.pyc +0 -0
- gradio/__pycache__/route_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/routes.cpython-314.pyc +3 -0
- gradio/__pycache__/screen_recording_utils.cpython-314.pyc +0 -0
- gradio/__pycache__/server_messages.cpython-314.pyc +0 -0
- gradio/__pycache__/state_holder.cpython-314.pyc +0 -0
- gradio/__pycache__/templates.cpython-314.pyc +0 -0
- gradio/__pycache__/tunneling.cpython-314.pyc +0 -0
- gradio/__pycache__/utils.cpython-314.pyc +3 -0
- gradio/__pycache__/validators.cpython-314.pyc +0 -0
- gradio/_simple_templates/__init__.py +5 -0
- gradio/_simple_templates/__pycache__/__init__.cpython-314.pyc +0 -0
.gitattributes
CHANGED
|
@@ -40,3 +40,36 @@ pypdf/_codecs/__pycache__/adobe_glyphs.cpython-314.pyc filter=lfs diff=lfs merge
|
|
| 40 |
pypdf/_codecs/__pycache__/core_font_metrics.cpython-314.pyc filter=lfs diff=lfs merge=lfs -text
|
| 41 |
jiter/jiter.cp314-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 42 |
orjson/orjson.cp314-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
pypdf/_codecs/__pycache__/core_font_metrics.cpython-314.pyc filter=lfs diff=lfs merge=lfs -text
|
| 41 |
jiter/jiter.cp314-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 42 |
orjson/orjson.cp314-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
gradio/__pycache__/blocks.cpython-314.pyc filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
gradio/__pycache__/routes.cpython-314.pyc filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
gradio/__pycache__/utils.cpython-314.pyc filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
gradio/media_assets/audio/cantina.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
gradio/media_assets/audio/recording1.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
gradio/media_assets/audio/sax.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
gradio/media_assets/images/groot.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
gradio/media_assets/images/tower.jpg filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
gradio/media_assets/models3d/Duck.glb filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
gradio/media_assets/models3d/sofia.stl filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
gradio/media_assets/videos/a.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
gradio/media_assets/videos/b.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
gradio/media_assets/videos/world.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
gradio/templates/frontend/assets/PlotlyPlot-C6cdzUOE.js.map filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Bold.woff2 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Regular.woff2 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
gradio/templates/node/build/client/_app/immutable/assets/Index.NsAb-q5h.css.br filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
gradio/templates/node/build/client/_app/immutable/chunks/B471GzP2.js.br filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
gradio/templates/node/build/client/_app/immutable/chunks/b7Tpp2uh.js.br filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Bd4l4TPW.js.br filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Be-wzAx8.js.br filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Blpjt42U.js.br filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Bm8DJGmZ.js.br filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
gradio/templates/node/build/client/_app/immutable/chunks/BnS0mVD-.js.br filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Bq_H2-ee.js.br filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
gradio/templates/node/build/client/_app/immutable/chunks/BruayC6v.js.br filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
gradio/templates/node/build/client/_app/immutable/chunks/BtL8Kq7N.js.br filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
gradio/templates/node/build/client/_app/immutable/chunks/BumKEt13.js.br filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
gradio/templates/node/build/client/_app/immutable/chunks/CmaORWMh.js.br filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
gradio/templates/node/build/client/_app/immutable/chunks/CTXrQoPV.js.br filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
gradio/templates/node/build/client/_app/immutable/chunks/Dcys6VdW.js.br filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
gradio/templates/node/build/client/_app/immutable/chunks/DzPG12t3.js.br filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
gradio/templates/node/build/client/_app/immutable/chunks/vnA4QT1E.js.br filter=lfs diff=lfs merge=lfs -text
|
gradio/.dockerignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
templates/frontend
|
| 2 |
+
templates/frontend/**/*
|
gradio/CHANGELOG.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gradio/__init__.py
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
|
| 3 |
+
import gradio._simple_templates
|
| 4 |
+
import gradio.image_utils
|
| 5 |
+
import gradio.processing_utils
|
| 6 |
+
import gradio.templates
|
| 7 |
+
from gradio import components, layouts, mcp, themes, validators
|
| 8 |
+
from gradio.blocks import Blocks
|
| 9 |
+
from gradio.chat_interface import ChatInterface
|
| 10 |
+
from gradio.cli import deploy
|
| 11 |
+
from gradio.components import (
|
| 12 |
+
HTML,
|
| 13 |
+
JSON,
|
| 14 |
+
AnnotatedImage,
|
| 15 |
+
Annotatedimage,
|
| 16 |
+
Audio,
|
| 17 |
+
BarPlot,
|
| 18 |
+
BrowserState,
|
| 19 |
+
Button,
|
| 20 |
+
Chatbot,
|
| 21 |
+
ChatMessage,
|
| 22 |
+
Checkbox,
|
| 23 |
+
CheckboxGroup,
|
| 24 |
+
Checkboxgroup,
|
| 25 |
+
ClearButton,
|
| 26 |
+
Code,
|
| 27 |
+
ColorPicker,
|
| 28 |
+
Component,
|
| 29 |
+
DataFrame,
|
| 30 |
+
Dataframe,
|
| 31 |
+
Dataset,
|
| 32 |
+
DateTime,
|
| 33 |
+
DeepLinkButton,
|
| 34 |
+
Dialogue,
|
| 35 |
+
DownloadButton,
|
| 36 |
+
Dropdown,
|
| 37 |
+
DuplicateButton,
|
| 38 |
+
File,
|
| 39 |
+
FileExplorer,
|
| 40 |
+
Gallery,
|
| 41 |
+
Highlight,
|
| 42 |
+
HighlightedText,
|
| 43 |
+
Highlightedtext,
|
| 44 |
+
Image,
|
| 45 |
+
ImageEditor,
|
| 46 |
+
ImageSlider,
|
| 47 |
+
InputHTMLAttributes,
|
| 48 |
+
Json,
|
| 49 |
+
Label,
|
| 50 |
+
LinePlot,
|
| 51 |
+
LoginButton,
|
| 52 |
+
Markdown,
|
| 53 |
+
MessageDict,
|
| 54 |
+
Model3D,
|
| 55 |
+
MultimodalTextbox,
|
| 56 |
+
Navbar,
|
| 57 |
+
Number,
|
| 58 |
+
ParamViewer,
|
| 59 |
+
Plot,
|
| 60 |
+
Radio,
|
| 61 |
+
ScatterPlot,
|
| 62 |
+
Slider,
|
| 63 |
+
State,
|
| 64 |
+
Text,
|
| 65 |
+
Textbox,
|
| 66 |
+
Timer,
|
| 67 |
+
UploadButton,
|
| 68 |
+
Video,
|
| 69 |
+
component,
|
| 70 |
+
)
|
| 71 |
+
from gradio.components.audio import WaveformOptions
|
| 72 |
+
from gradio.components.image_editor import (
|
| 73 |
+
Brush,
|
| 74 |
+
Eraser,
|
| 75 |
+
LayerOptions,
|
| 76 |
+
WatermarkOptions,
|
| 77 |
+
WebcamOptions,
|
| 78 |
+
)
|
| 79 |
+
from gradio.data_classes import FileData
|
| 80 |
+
from gradio.events import (
|
| 81 |
+
CopyData,
|
| 82 |
+
DeletedFileData,
|
| 83 |
+
DownloadData,
|
| 84 |
+
EditData,
|
| 85 |
+
EventData,
|
| 86 |
+
KeyUpData,
|
| 87 |
+
LikeData,
|
| 88 |
+
RetryData,
|
| 89 |
+
SelectData,
|
| 90 |
+
UndoData,
|
| 91 |
+
api,
|
| 92 |
+
on,
|
| 93 |
+
)
|
| 94 |
+
from gradio.exceptions import Error
|
| 95 |
+
from gradio.external import load, load_chat, load_openapi
|
| 96 |
+
from gradio.flagging import (
|
| 97 |
+
CSVLogger,
|
| 98 |
+
FlaggingCallback,
|
| 99 |
+
SimpleCSVLogger,
|
| 100 |
+
)
|
| 101 |
+
from gradio.helpers import Info, Progress, Success, Warning, skip, update, validate
|
| 102 |
+
from gradio.helpers import create_examples as Examples # noqa: N812
|
| 103 |
+
from gradio.i18n import I18n
|
| 104 |
+
from gradio.interface import Interface, TabbedInterface, close_all
|
| 105 |
+
from gradio.ipython_ext import load_ipython_extension
|
| 106 |
+
from gradio.layouts import (
|
| 107 |
+
Accordion,
|
| 108 |
+
Column,
|
| 109 |
+
Draggable,
|
| 110 |
+
Group,
|
| 111 |
+
Row,
|
| 112 |
+
Sidebar,
|
| 113 |
+
Step,
|
| 114 |
+
Tab,
|
| 115 |
+
TabItem,
|
| 116 |
+
Tabs,
|
| 117 |
+
Walkthrough,
|
| 118 |
+
)
|
| 119 |
+
from gradio.media import get_audio, get_file, get_image, get_model3d, get_video
|
| 120 |
+
from gradio.oauth import OAuthProfile, OAuthToken
|
| 121 |
+
from gradio.renderable import render
|
| 122 |
+
from gradio.route_utils import Header
|
| 123 |
+
from gradio.routes import Request, mount_gradio_app
|
| 124 |
+
from gradio.templates import (
|
| 125 |
+
Files,
|
| 126 |
+
ImageMask,
|
| 127 |
+
List,
|
| 128 |
+
Matrix,
|
| 129 |
+
Mic,
|
| 130 |
+
Microphone,
|
| 131 |
+
Numpy,
|
| 132 |
+
Paint,
|
| 133 |
+
PlayableVideo,
|
| 134 |
+
Sketchpad,
|
| 135 |
+
TextArea,
|
| 136 |
+
)
|
| 137 |
+
from gradio.themes import Base as Theme
|
| 138 |
+
from gradio.utils import NO_RELOAD, FileSize, get_package_version, set_static_paths
|
| 139 |
+
|
| 140 |
+
# this is the verion:
|
| 141 |
+
__version__ = get_package_version()
|
| 142 |
+
|
| 143 |
+
__all__ = [
|
| 144 |
+
"Accordion",
|
| 145 |
+
"AnnotatedImage",
|
| 146 |
+
"Annotatedimage",
|
| 147 |
+
"Audio",
|
| 148 |
+
"BarPlot",
|
| 149 |
+
"Blocks",
|
| 150 |
+
"BrowserState",
|
| 151 |
+
"Brush",
|
| 152 |
+
"Button",
|
| 153 |
+
"CSVLogger",
|
| 154 |
+
"ChatInterface",
|
| 155 |
+
"ChatMessage",
|
| 156 |
+
"Chatbot",
|
| 157 |
+
"Checkbox",
|
| 158 |
+
"CheckboxGroup",
|
| 159 |
+
"Checkboxgroup",
|
| 160 |
+
"ClearButton",
|
| 161 |
+
"Code",
|
| 162 |
+
"ColorPicker",
|
| 163 |
+
"Column",
|
| 164 |
+
"Component",
|
| 165 |
+
"CopyData",
|
| 166 |
+
"DataFrame",
|
| 167 |
+
"Dataframe",
|
| 168 |
+
"Dataset",
|
| 169 |
+
"DateTime",
|
| 170 |
+
"Dialogue",
|
| 171 |
+
"DeletedFileData",
|
| 172 |
+
"DownloadButton",
|
| 173 |
+
"DownloadData",
|
| 174 |
+
"Dropdown",
|
| 175 |
+
"DuplicateButton",
|
| 176 |
+
"EditData",
|
| 177 |
+
"Eraser",
|
| 178 |
+
"Error",
|
| 179 |
+
"EventData",
|
| 180 |
+
"Examples",
|
| 181 |
+
"File",
|
| 182 |
+
"FileData",
|
| 183 |
+
"FileExplorer",
|
| 184 |
+
"FileSize",
|
| 185 |
+
"Files",
|
| 186 |
+
"FlaggingCallback",
|
| 187 |
+
"Gallery",
|
| 188 |
+
"Group",
|
| 189 |
+
"Header",
|
| 190 |
+
"HTML",
|
| 191 |
+
"Highlight",
|
| 192 |
+
"HighlightedText",
|
| 193 |
+
"Highlightedtext",
|
| 194 |
+
"Image",
|
| 195 |
+
"ImageEditor",
|
| 196 |
+
"ImageSlider",
|
| 197 |
+
"ImageMask",
|
| 198 |
+
"Info",
|
| 199 |
+
"InputHTMLAttributes",
|
| 200 |
+
"Interface",
|
| 201 |
+
"JSON",
|
| 202 |
+
"Json",
|
| 203 |
+
"KeyUpData",
|
| 204 |
+
"Label",
|
| 205 |
+
"LayerOptions",
|
| 206 |
+
"LikeData",
|
| 207 |
+
"LinePlot",
|
| 208 |
+
"List",
|
| 209 |
+
"LoginButton",
|
| 210 |
+
"Markdown",
|
| 211 |
+
"Matrix",
|
| 212 |
+
"MessageDict",
|
| 213 |
+
"Mic",
|
| 214 |
+
"Microphone",
|
| 215 |
+
"Model3D",
|
| 216 |
+
"MultimodalTextbox",
|
| 217 |
+
"NO_RELOAD",
|
| 218 |
+
"Number",
|
| 219 |
+
"Numpy",
|
| 220 |
+
"OAuthProfile",
|
| 221 |
+
"OAuthToken",
|
| 222 |
+
"Paint",
|
| 223 |
+
"ParamViewer",
|
| 224 |
+
"PlayableVideo",
|
| 225 |
+
"Plot",
|
| 226 |
+
"Progress",
|
| 227 |
+
"Radio",
|
| 228 |
+
"Request",
|
| 229 |
+
"RetryData",
|
| 230 |
+
"Row",
|
| 231 |
+
"ScatterPlot",
|
| 232 |
+
"SelectData",
|
| 233 |
+
"Sidebar",
|
| 234 |
+
"SimpleCSVLogger",
|
| 235 |
+
"Sketchpad",
|
| 236 |
+
"Slider",
|
| 237 |
+
"State",
|
| 238 |
+
"Success",
|
| 239 |
+
"Tab",
|
| 240 |
+
"TabItem",
|
| 241 |
+
"TabbedInterface",
|
| 242 |
+
"Tabs",
|
| 243 |
+
"Text",
|
| 244 |
+
"TextArea",
|
| 245 |
+
"Textbox",
|
| 246 |
+
"Theme",
|
| 247 |
+
"Timer",
|
| 248 |
+
"UndoData",
|
| 249 |
+
"UploadButton",
|
| 250 |
+
"Video",
|
| 251 |
+
"Walkthrough",
|
| 252 |
+
"Step",
|
| 253 |
+
"Warning",
|
| 254 |
+
"WaveformOptions",
|
| 255 |
+
"WebcamOptions",
|
| 256 |
+
"WatermarkOptions",
|
| 257 |
+
"__version__",
|
| 258 |
+
"close_all",
|
| 259 |
+
"deploy",
|
| 260 |
+
"get_package_version",
|
| 261 |
+
"I18n",
|
| 262 |
+
"load",
|
| 263 |
+
"load_chat",
|
| 264 |
+
"load_ipython_extension",
|
| 265 |
+
"load_openapi",
|
| 266 |
+
"mount_gradio_app",
|
| 267 |
+
"on",
|
| 268 |
+
"render",
|
| 269 |
+
"set_static_paths",
|
| 270 |
+
"skip",
|
| 271 |
+
"update",
|
| 272 |
+
"DeepLinkButton",
|
| 273 |
+
"mcp",
|
| 274 |
+
"validate",
|
| 275 |
+
"get_audio",
|
| 276 |
+
"get_image",
|
| 277 |
+
"get_video",
|
| 278 |
+
"get_model3d",
|
| 279 |
+
"get_file",
|
| 280 |
+
"validators",
|
| 281 |
+
]
|
gradio/__main__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from gradio.cli import cli
|
| 2 |
+
|
| 3 |
+
if __name__ == "__main__":
|
| 4 |
+
cli()
|
gradio/__pycache__/__init__.cpython-314.pyc
ADDED
|
Binary file (7.1 kB). View file
|
|
|
gradio/__pycache__/__main__.cpython-314.pyc
ADDED
|
Binary file (283 Bytes). View file
|
|
|
gradio/__pycache__/analytics.cpython-314.pyc
ADDED
|
Binary file (11.8 kB). View file
|
|
|
gradio/__pycache__/block_function.cpython-314.pyc
ADDED
|
Binary file (8.4 kB). View file
|
|
|
gradio/__pycache__/blocks.cpython-314.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e78d878f7d3c784aff0ad85dd801c746f28ee4946d3f2b9a34d0860f3efb78e
|
| 3 |
+
size 169347
|
gradio/__pycache__/blocks_events.cpython-314.pyc
ADDED
|
Binary file (1.8 kB). View file
|
|
|
gradio/__pycache__/brotli_middleware.cpython-314.pyc
ADDED
|
Binary file (13.6 kB). View file
|
|
|
gradio/__pycache__/chat_interface.cpython-314.pyc
ADDED
|
Binary file (59.9 kB). View file
|
|
|
gradio/__pycache__/component_meta.cpython-314.pyc
ADDED
|
Binary file (15.4 kB). View file
|
|
|
gradio/__pycache__/context.cpython-314.pyc
ADDED
|
Binary file (3.69 kB). View file
|
|
|
gradio/__pycache__/data_classes.cpython-314.pyc
ADDED
|
Binary file (23.6 kB). View file
|
|
|
gradio/__pycache__/events.cpython-314.pyc
ADDED
|
Binary file (62.1 kB). View file
|
|
|
gradio/__pycache__/exceptions.cpython-314.pyc
ADDED
|
Binary file (5.91 kB). View file
|
|
|
gradio/__pycache__/external.cpython-314.pyc
ADDED
|
Binary file (48 kB). View file
|
|
|
gradio/__pycache__/external_utils.cpython-314.pyc
ADDED
|
Binary file (30.6 kB). View file
|
|
|
gradio/__pycache__/flagging.cpython-314.pyc
ADDED
|
Binary file (22.9 kB). View file
|
|
|
gradio/__pycache__/helpers.cpython-314.pyc
ADDED
|
Binary file (65.5 kB). View file
|
|
|
gradio/__pycache__/http_server.cpython-314.pyc
ADDED
|
Binary file (9.13 kB). View file
|
|
|
gradio/__pycache__/i18n.cpython-314.pyc
ADDED
|
Binary file (7.62 kB). View file
|
|
|
gradio/__pycache__/image_utils.cpython-314.pyc
ADDED
|
Binary file (17.8 kB). View file
|
|
|
gradio/__pycache__/interface.cpython-314.pyc
ADDED
|
Binary file (51.3 kB). View file
|
|
|
gradio/__pycache__/ipython_ext.cpython-314.pyc
ADDED
|
Binary file (5.44 kB). View file
|
|
|
gradio/__pycache__/mcp.cpython-314.pyc
ADDED
|
Binary file (64.1 kB). View file
|
|
|
gradio/__pycache__/media.cpython-314.pyc
ADDED
|
Binary file (5.84 kB). View file
|
|
|
gradio/__pycache__/monitoring_dashboard.cpython-314.pyc
ADDED
|
Binary file (5.12 kB). View file
|
|
|
gradio/__pycache__/networking.cpython-314.pyc
ADDED
|
Binary file (3.57 kB). View file
|
|
|
gradio/__pycache__/node_server.cpython-314.pyc
ADDED
|
Binary file (8.55 kB). View file
|
|
|
gradio/__pycache__/oauth.cpython-314.pyc
ADDED
|
Binary file (17.2 kB). View file
|
|
|
gradio/__pycache__/pipelines.cpython-314.pyc
ADDED
|
Binary file (5.57 kB). View file
|
|
|
gradio/__pycache__/pipelines_utils.cpython-314.pyc
ADDED
|
Binary file (35.8 kB). View file
|
|
|
gradio/__pycache__/processing_utils.cpython-314.pyc
ADDED
|
Binary file (57.4 kB). View file
|
|
|
gradio/__pycache__/queueing.cpython-314.pyc
ADDED
|
Binary file (51.4 kB). View file
|
|
|
gradio/__pycache__/ranged_response.cpython-314.pyc
ADDED
|
Binary file (10.6 kB). View file
|
|
|
gradio/__pycache__/renderable.cpython-314.pyc
ADDED
|
Binary file (10.4 kB). View file
|
|
|
gradio/__pycache__/route_utils.cpython-314.pyc
ADDED
|
Binary file (67.7 kB). View file
|
|
|
gradio/__pycache__/routes.cpython-314.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:867a1755da2ac3dcf4730dea96b6d4ece5b90d6e355c1b73e514370e94e18ae3
|
| 3 |
+
size 136846
|
gradio/__pycache__/screen_recording_utils.cpython-314.pyc
ADDED
|
Binary file (13.9 kB). View file
|
|
|
gradio/__pycache__/server_messages.cpython-314.pyc
ADDED
|
Binary file (7.54 kB). View file
|
|
|
gradio/__pycache__/state_holder.cpython-314.pyc
ADDED
|
Binary file (10.9 kB). View file
|
|
|
gradio/__pycache__/templates.cpython-314.pyc
ADDED
|
Binary file (29 kB). View file
|
|
|
gradio/__pycache__/tunneling.cpython-314.pyc
ADDED
|
Binary file (11.3 kB). View file
|
|
|
gradio/__pycache__/utils.cpython-314.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd732fd3847a6c3e99e838c44414c98b37e859727a64b29eaeb6ea4f72d07c79
|
| 3 |
+
size 110181
|
gradio/__pycache__/validators.cpython-314.pyc
ADDED
|
Binary file (3.29 kB). View file
|
|
|
gradio/_simple_templates/__init__.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .simpledropdown import SimpleDropdown
|
| 2 |
+
from .simpleimage import SimpleImage
|
| 3 |
+
from .simpletextbox import SimpleTextbox
|
| 4 |
+
|
| 5 |
+
__all__ = ["SimpleDropdown", "SimpleTextbox", "SimpleImage"]
|
gradio/_simple_templates/__pycache__/__init__.cpython-314.pyc
ADDED
|
Binary file (385 Bytes). View file
|
|
|