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
Built Distribution
File details
Details for the file gradio_notebook-0.0.11.tar.gz
.
File metadata
- Download URL: gradio_notebook-0.0.11.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 | 1033b26940af751ac2d2fb05c934ceb6a6bc1adf0983fbbbe1230a4606418cf8 |
|
MD5 | b65a8146737bd538b7b25030b369a3a8 |
|
BLAKE2b-256 | e50665dcd5c455851da120422fc87bb0d5d6fd0b4f20666ef33e659a0419eba2 |
File details
Details for the file gradio_notebook-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: gradio_notebook-0.0.11-py3-none-any.whl
- Upload date:
- Size: 523.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 | 513ebec8438f2cb2fa81a46aab12b3c30335d0715aa03e95aa7a9db2921dc8fd |
|
MD5 | f89f4fd856232392dd0698ee5ca07813 |
|
BLAKE2b-256 | 9a2dd3de91801c1402f6048df7d235c6dd7d2539613e84282328caf4d04a2a28 |