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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaefa1441b938416b95ffe09c801129f0e81d1eb4f6f63e9332c70b56f0cd834 |
|
MD5 | ce1dc2da474a7ee908fe0e4a7ef8f8bc |
|
BLAKE2b-256 | 9c822decfc8e040c80a0b29f570b5e5802ccfd62309b70cd5d53c07951371e51 |
Close
Hashes for gradio_gradioworkbook_ap-0.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf052216266c2a1e587684f04d373c612a948153bd685f84c8b25191358eb0e |
|
MD5 | 3d6cc4a3cef18c8cf7cc7a7c48f52fd3 |
|
BLAKE2b-256 | 9a22447a3a2c01c3a77eec3855a4e643186f4d693fd2a07482822078a304aa92 |