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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a395139a1299832f3a0a30a895f663e0e7647ede944b0f71ba8096bbfde63642 |
|
MD5 | 0d11bd370f9dc5a179dd703587fac78d |
|
BLAKE2b-256 | be614c36d784102fd192bdecb7c9733e67302a585b59e8c852ca21279688b106 |
Close
Hashes for gradio_gradioworkbook_ap-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aac2f770e851f9d320c415da3ceb60feeecbe0558bae126bd8bb27c427989ab |
|
MD5 | bffabc6b27503c3db8d5bfb28a5663bc |
|
BLAKE2b-256 | 7068ef99a08d4b5e300b3cc964fd1d9761031dacf8855f14f494a40e30a624fc |