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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gradio_notebook-0.0.16.tar.gz.
File metadata
- Download URL: gradio_notebook-0.0.16.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ae34b0a509d949b0d3799f943567242ce7ebe3727bf559d0a4e429544e58e0
|
|
| MD5 |
a65d4c0d1e714f551a166e9e8dc82520
|
|
| BLAKE2b-256 |
cca5b2178dfc073b19c9b21e40603f408d0db954d4e20b2a8b4cb5407779d1eb
|
File details
Details for the file gradio_notebook-0.0.16-py3-none-any.whl.
File metadata
- Download URL: gradio_notebook-0.0.16-py3-none-any.whl
- Upload date:
- Size: 525.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62de25284147dd87da2407364ecbae34a813ba227476fb4b3c4e767888a9ad30
|
|
| MD5 |
acd4d98c7d2e91578f9294efa5a6b1d6
|
|
| BLAKE2b-256 |
09ad335b4af25cbe5f0b56f67ae85234ad1a7fddfb799eb1a15814feb5759816
|