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.4.tar.gz
(2.1 MB
view details)
Built Distribution
File details
Details for the file gradio_notebook-0.0.4.tar.gz
.
File metadata
- Download URL: gradio_notebook-0.0.4.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 | 80ded2e9eb2bd6de4302728a8e4c9b5a7b91cc0a908e23532614459b32758e9e |
|
MD5 | 90693e303c2566a5720b074558a716af |
|
BLAKE2b-256 | 6a7efb99e874f2adf662997ae8e2365309ae65665ed496d9e3a871a31152c7a5 |
File details
Details for the file gradio_notebook-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gradio_notebook-0.0.4-py3-none-any.whl
- Upload date:
- Size: 522.4 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 | 76335158674fa88606a86b20ae02066e4d8e49c904ca0765577bb46ec3f61130 |
|
MD5 | d29f3846742d4fcc26701cb8b590ecbd |
|
BLAKE2b-256 | 33caa08ec6b98b8e399bcf8c6237fd89acfe994b58b5334f563d98712026ad85 |