File size: 1,939 Bytes
783a089 |
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 |
import pkgutil
import gradio.components as components
import gradio.inputs as inputs
import gradio.outputs as outputs
import gradio.processing_utils
import gradio.templates
import gradio.themes as themes
from gradio.blocks import Blocks
from gradio.components import (
HTML,
JSON,
Audio,
BarPlot,
Button,
Carousel,
Chatbot,
Checkbox,
Checkboxgroup,
CheckboxGroup,
Code,
ColorPicker,
DataFrame,
Dataframe,
Dataset,
Dropdown,
File,
Gallery,
Highlight,
Highlightedtext,
HighlightedText,
Image,
Interpretation,
Json,
Label,
LinePlot,
Markdown,
Model3D,
Number,
Plot,
Radio,
ScatterPlot,
Slider,
State,
StatusTracker,
Text,
Textbox,
TimeSeries,
Timeseries,
UploadButton,
Variable,
Video,
component,
)
from gradio.events import SelectData
from gradio.exceptions import Error
from gradio.flagging import (
CSVLogger,
FlaggingCallback,
HuggingFaceDatasetJSONSaver,
HuggingFaceDatasetSaver,
SimpleCSVLogger,
)
from gradio.helpers import EventData, Progress
from gradio.helpers import create_examples as Examples
from gradio.helpers import make_waveform, skip, update
from gradio.interface import Interface, TabbedInterface, close_all
from gradio.ipython_ext import load_ipython_extension
from gradio.layouts import Accordion, Box, Column, Group, Row, Tab, TabItem, Tabs
from gradio.mix import Parallel, Series
from gradio.routes import Request, mount_gradio_app
from gradio.templates import (
Files,
ImageMask,
ImagePaint,
List,
Matrix,
Mic,
Microphone,
Numpy,
Paint,
Pil,
PlayableVideo,
Sketchpad,
TextArea,
Webcam,
)
from gradio.themes import Base as Theme
current_pkg_version = (
(pkgutil.get_data(__name__, "version.txt") or b"").decode("ascii").strip()
)
__version__ = current_pkg_version
|