Notebook for interacting with models in AIConfig
Project description
Gradio Notebooks
Gradio Notebook is a Gradio custom component that creates a notebook playground on Hugging Face Spaces with only 8-lines of code!
You can use this in your Hugging Face space by adding gradio-notebook
your Space's requirements.txt
file, and then the following lines to your app.py
file:
import gradio as gr
from gradio_notebook import GradioNotebook
# AICONFIG_FILE_PATH also be empty or None if you don't have an AIConfig file!
AICONFIG_FILE_PATH = "./my_app.aiconfig.json"
with gr.Blocks() as demo:
GradioNotebook(config_path=AICONFIG_FILE_PATH)
demo.queue().launch()
Please see our documentation page for full details.
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.8.tar.gz
(2.1 MB
view details)
Built Distribution
File details
Details for the file gradio_notebook-0.0.8.tar.gz
.
File metadata
- Download URL: gradio_notebook-0.0.8.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 | 678e88f4e8e28d0495895f4f79b7446d146377d772600e470919f8cfca5834eb |
|
MD5 | 798f4b681c55230dcf3eab1fdcad41f1 |
|
BLAKE2b-256 | 9a478f2703e1dc7f75462ca5455c58e1949ef4003deb4bc5f0808f3af20fa86a |
File details
Details for the file gradio_notebook-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: gradio_notebook-0.0.8-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 | 309dad19851e2e3ac885bcbee9755046a7b59df2c848b58e3f768aefbbf59f30 |
|
MD5 | b5862b07d420a084f485209ddac44dcc |
|
BLAKE2b-256 | 3f22b7d4a6d5318fe517c1e306b3e82737e2f6271af4f89eb11b51ddac8fe6a7 |