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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318c7341c5affe21a83a0c6babe6c3e72155fed4687ba9d9fce37d62f5375461 |
|
MD5 | 85866aaeb34c2808f8d94750db9ce1be |
|
BLAKE2b-256 | b0ce23bb37d40762cb036e5d89c7d27842f7c5509f3bfb192a366d1f2d4f06ce |
Close
Hashes for gradio_gradioworkbook_ap-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5717f14d2a8c4aae45d6ad2555a401c59874495365e22d4dab01bdb09f625620 |
|
MD5 | 57542151d5aefe418b14e7e481338b50 |
|
BLAKE2b-256 | f1c2a91f904d2d227ce53a048ee1caa52909446e02d9ef29b50bedbc41f461fa |