Skip to main content

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

gradio_gradioworkbook_ap-0.0.25.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gradio_gradioworkbook_ap-0.0.25-py3-none-any.whl (525.0 kB view details)

Uploaded Python 3

File details

Details for the file gradio_gradioworkbook_ap-0.0.25.tar.gz.

File metadata

File hashes

Hashes for gradio_gradioworkbook_ap-0.0.25.tar.gz
Algorithm Hash digest
SHA256 a61c3b85dc795abde593ec3754127a03974ae2f6cdf2f0334ecdb93d10a4f698
MD5 705fb8274e1fc02ec73d6a6701bb3efe
BLAKE2b-256 d53a85313ab220ad1dc33cee87910d16f9395d2427a1fa30efe9a2137d547c9e

See more details on using hashes here.

File details

Details for the file gradio_gradioworkbook_ap-0.0.25-py3-none-any.whl.

File metadata

File hashes

Hashes for gradio_gradioworkbook_ap-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 698d9f4ec01a3eb6b6a7152dddcedd5ef031d5c1ddc197be2d13671ef9de0841
MD5 546ab346db0bbd851c04518a6f5df88d
BLAKE2b-256 d16923e2c59e6bd0ba0cf595778129e147fa0ff1b36b6e4ef5f6d39cf6b9ca5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page