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
to 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.15.tar.gz
(2.1 MB
view hashes)
Built Distribution
Close
Hashes for gradio_notebook-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc75e4bfb0c8aebdabee4ef95bbed57ba56205d9248b223cc3a3713325841be3 |
|
MD5 | a92e27e5701d92cbc9d92000d5d0afc9 |
|
BLAKE2b-256 | 682e0b7cf87c1a08dd963f65c14547bab39cef15613e79d081caed1be53e2f8e |