Notebook for interacting with models in AIConfig
Project description
gradio_gradioworkbook
A Custom Gradio component to build AI Notebooks powered by AIConfig. See https://aiconfig.lastmileai.dev/docs/gradio-notebook for full documentation.
Example usage
Please see the demo/app.py for full details, but generally all you need to do is add these lines to your component:
import gradio as gr
from gradio_notebook import GradioNotebook
with gr.Blocks() as demo:
GradioNotebook()
demo.queue().launch()
Configure the default AIConfig for the notebook by specifying a path to the config:
import gradio as gr
from gradio_notebook import GradioNotebook
with gr.Blocks() as demo:
GradioNotebook(config_path="./my_app.aiconfig.json")
demo.queue().launch()
For the remaining commands for local development, please follow the
instructions from the README-dev.md
file!
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_notebook-0.0.3.tar.gz
(2.1 MB
view details)
Built Distribution
File details
Details for the file gradio_notebook-0.0.3.tar.gz
.
File metadata
- Download URL: gradio_notebook-0.0.3.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5228a44397671cc81bdce62c6a8972f95b01aea159481392098a01382a445e56 |
|
MD5 | 9bc23add5802026cbfd802b991f46bf6 |
|
BLAKE2b-256 | 9dd06a2d4c6ca17d57540caa49c6bd05c5120be3ebb6dbc2eea3aa0cf40bdb53 |
File details
Details for the file gradio_notebook-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: gradio_notebook-0.0.3-py3-none-any.whl
- Upload date:
- Size: 521.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d60da390c52341a6ffec3b932702610b75e4f7bcd6c0af727c1b166e90179a0 |
|
MD5 | bee2d2f6001e75cc7df5645b84496b78 |
|
BLAKE2b-256 | 1e0a136be6cf8afb27686b9356c5be3f3c2de17e082f2c5707a81a62e386b126 |