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

rh_test_grnotebook-0.0.3.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

rh_test_grnotebook-0.0.3-py3-none-any.whl (525.1 kB view details)

Uploaded Python 3

File details

Details for the file rh_test_grnotebook-0.0.3.tar.gz.

File metadata

  • Download URL: rh_test_grnotebook-0.0.3.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for rh_test_grnotebook-0.0.3.tar.gz
Algorithm Hash digest
SHA256 950d50b15a46ef130d7b3eab26b5deaad1368d7888a1ee5af72f45f4e6c6b5e8
MD5 f512512e6e54eef776074306ce753617
BLAKE2b-256 641429783e8a5279235a0a3f7db312418008cc664d217c8307cbb72e417363b3

See more details on using hashes here.

File details

Details for the file rh_test_grnotebook-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for rh_test_grnotebook-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d509eb9248a18298eaa0ceebafe7de5ec694135596d1c1c1d7caf24545bf9591
MD5 49fda2c5bf59ace67c892b6a279846a5
BLAKE2b-256 f268fae2e8338082e9186b78d38700f5e0028bac8c657d6d151e9437e419e687

See more details on using hashes here.

Supported by

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