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
File details
Details for the file rh_test_grnotebook-0.0.1.tar.gz
.
File metadata
- Download URL: rh_test_grnotebook-0.0.1.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 | 7db0a46528c100290a8cf33429e7a4c798c6cac8b5017ecf36689efd52c7e54d |
|
MD5 | 0962f7d983327200b022012c9a0f54f5 |
|
BLAKE2b-256 | cd52ca940cc1c9c6f2ebce5ec79d2f4a912565e6a4c4388a1f713a29ebdd6456 |
File details
Details for the file rh_test_grnotebook-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: rh_test_grnotebook-0.0.1-py3-none-any.whl
- Upload date:
- Size: 525.1 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 | f75ac2735da18cf49515c629428079658f128af3b3e1bb48f14ba78af8f8375d |
|
MD5 | 28c62e82ee7383ce91b4c02e27bae12c |
|
BLAKE2b-256 | c4731a74826ab6f2263f2d690c2221ae394937cfdbc901717cdfabb897ad2064 |