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
Built Distribution
Close
Hashes for rh_test_grnotebook-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b2aac390cd523332161e90adc8e71199b49602f97737aa60bfcfe6a49ebac7 |
|
MD5 | 41e38c508b149f69c8d8fc034d31666e |
|
BLAKE2b-256 | 79a88e8f023593464dc41194a8b3ba20080eadb91049eb6e0eee2e8a1943cc38 |