Python library for easily interacting with trained machine learning models
Project description
gradio_testfallback
Python library for easily interacting with trained machine learning models
Installation
pip install gradio_testfallback
Usage
import gradio as gr
from gradio_testfallback import TestFallback
with gr.Blocks() as demo:
gr.Markdown(
"# Change the value (keep it JSON) and the front-end will update automatically."
)
TestFallback(value={"message": "Hello from Gradio!"}, label="Static")
if __name__ == "__main__":
demo.launch()
TestFallback
Initialization
name | type | default | description |
---|---|---|---|
value |
typing.Any
|
None |
None |
label |
str | None
|
None |
None |
info |
str | None
|
None |
None |
show_label |
bool | None
|
None |
None |
container |
bool
|
True |
None |
scale |
int | None
|
None |
None |
min_width |
int | None
|
None |
None |
interactive |
bool | None
|
None |
None |
visible |
bool
|
True |
None |
elem_id |
str | None
|
None |
None |
elem_classes |
list[str] | str | None
|
None |
None |
render |
bool
|
True |
None |
load_fn |
Callable | None
|
None |
None |
every |
float | None
|
None |
None |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gradio_testfallback-0.0.3.tar.gz
(36.3 kB
view details)
Built Distribution
File details
Details for the file gradio_testfallback-0.0.3.tar.gz
.
File metadata
- Download URL: gradio_testfallback-0.0.3.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 804b279654041ab1329f5939ca0d27b775b3c234fd71d11143abed64d9dc6e86 |
|
MD5 | 1aafb8f428d72da6757ccc93483ea6dc |
|
BLAKE2b-256 | 3b564059a5b7f85282eaca4fbe09bdeacb97540db776e66ac370d65ec3fac675 |
File details
Details for the file gradio_testfallback-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: gradio_testfallback-0.0.3-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623ab553cb72dde00ba5b90cf5617b5cf85120deeb5a44c1977f21c26e808a61 |
|
MD5 | beed7936fc4098628e5060d494e11482 |
|
BLAKE2b-256 | 3d5411248464e9f8b723443e35aafaf53b453ecfe218893c1a3e4f5ba3782e88 |