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
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
Close
Hashes for gradio_gradioworkbook_ap-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72038ba19748ee3f201194f52c2d249a4c62265fec6293e4491e9fdc27060822 |
|
MD5 | 58860104a67cef7bcaf09ecd280d7320 |
|
BLAKE2b-256 | 601fcd0cdae6489451f8052f6ea176910acc55d6db785912c01654f17254cc4a |
Close
Hashes for gradio_gradioworkbook_ap-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb9a21b16eb80c5cab721f252a7ff076531f8a945146f0b9f5f9251326afb6f |
|
MD5 | eb2a6bd4672c9abf5ab9212f8f65e754 |
|
BLAKE2b-256 | ea29554fc7129893f073f55ef68d0663a1eb0fd636cb7afe022c8b7dd116e042 |