Notebook for interacting with models in AIConfig
Project description
gradio_notebook
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.6.tar.gz
(2.1 MB
view hashes)
Built Distribution
Close
Hashes for gradio_notebook-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8e3c18cec778f1651546467e7a0f0daf22d844b8fb91bb07e4d8dcc6e99095 |
|
MD5 | 7be6d223ecc203d6c8a793dec99f6f26 |
|
BLAKE2b-256 | 6577ddcadbba7f9345b664536af27e484624efff1dbf9c9eee8576b5d385b0dd |