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!
Release files for rh-test-grnotebook 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rh_test_grnotebook-0.0.3.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rh_test_grnotebook-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / rh_test_grnotebook-0.0.3.tar.gz
| Download URL | rh_test_grnotebook-0.0.3.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
950d50b15a46ef130d7b3eab26b5deaad1368d7888a1ee5af72f45f4e6c6b5e8
|
|
BLAKE2b-256 checksum How to use checksums |
641429783e8a5279235a0a3f7db312418008cc664d217c8307cbb72e417363b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / rh_test_grnotebook-0.0.3-py3-none-any.whl
| Download URL | rh_test_grnotebook-0.0.3-py3-none-any.whl |
|---|---|
| Size | 525.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d509eb9248a18298eaa0ceebafe7de5ec694135596d1c1c1d7caf24545bf9591
|
|
BLAKE2b-256 checksum How to use checksums |
f268fae2e8338082e9186b78d38700f5e0028bac8c657d6d151e9437e419e687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|