# Gradio Notebooks
[Gradio Notebook](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart) is a Gradio custom component that creates a notebook playground on Hugging Face Spaces with only [8-lines of code](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/app.py)!
You can use this in your Hugging Face space by adding `gradio-notebook` to your Space's [`requirements.txt`](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/requirements.txt) file, and then the following lines to your [`app.py`](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/app.py) file:
```python
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](https://aiconfig.lastmileai.dev/docs/gradio-notebook) for full details.
For the remaining commands for local development, please follow the
instructions from the [`README-dev.md`](https://github.com/lastmile-ai/gradio-workbook/blob/main/gradioworkbook/README-dev.md) file!
Raw data
{
"_id": null,
"home_page": "",
"name": "rh-test-grnotebook",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "aiconfig,gradio-custom-component,gradio-template-Fallback,notebook,workbook",
"author": "LastMile AI",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/64/14/29783e8a5279235a0a3f7db312418008cc664d217c8307cbb72e417363b3/rh_test_grnotebook-0.0.3.tar.gz",
"platform": null,
"description": "# Gradio Notebooks\n\n[Gradio Notebook](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart) is a Gradio custom component that creates a notebook playground on Hugging Face Spaces with only [8-lines of code](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/app.py)!\n\nYou can use this in your Hugging Face space by adding `gradio-notebook` to your Space's [`requirements.txt`](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/requirements.txt) file, and then the following lines to your [`app.py`](https://huggingface.co/spaces/lastmileai/gradio-notebook-quickstart/blob/main/app.py) file:\n\n```python\nimport gradio as gr\nfrom gradio_notebook import GradioNotebook\n\n# AICONFIG_FILE_PATH also be empty or None if you don't have an AIConfig file!\nAICONFIG_FILE_PATH = \"./my_app.aiconfig.json\"\nwith gr.Blocks() as demo:\n GradioNotebook(config_path=AICONFIG_FILE_PATH)\n\ndemo.queue().launch()\n```\n\nPlease see our [documentation page](https://aiconfig.lastmileai.dev/docs/gradio-notebook) for full details.\n\nFor the remaining commands for local development, please follow the\ninstructions from the [`README-dev.md`](https://github.com/lastmile-ai/gradio-workbook/blob/main/gradioworkbook/README-dev.md) file!\n",
"bugtrack_url": null,
"license": "",
"summary": "Notebook for interacting with models in AIConfig",
"version": "0.0.3",
"project_urls": null,
"split_keywords": [
"aiconfig",
"gradio-custom-component",
"gradio-template-fallback",
"notebook",
"workbook"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f268fae2e8338082e9186b78d38700f5e0028bac8c657d6d151e9437e419e687",
"md5": "49fda2c5bf59ace67c892b6a279846a5",
"sha256": "d509eb9248a18298eaa0ceebafe7de5ec694135596d1c1c1d7caf24545bf9591"
},
"downloads": -1,
"filename": "rh_test_grnotebook-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "49fda2c5bf59ace67c892b6a279846a5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 525137,
"upload_time": "2024-02-16T19:33:21",
"upload_time_iso_8601": "2024-02-16T19:33:21.044595Z",
"url": "https://files.pythonhosted.org/packages/f2/68/fae2e8338082e9186b78d38700f5e0028bac8c657d6d151e9437e419e687/rh_test_grnotebook-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "641429783e8a5279235a0a3f7db312418008cc664d217c8307cbb72e417363b3",
"md5": "f512512e6e54eef776074306ce753617",
"sha256": "950d50b15a46ef130d7b3eab26b5deaad1368d7888a1ee5af72f45f4e6c6b5e8"
},
"downloads": -1,
"filename": "rh_test_grnotebook-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "f512512e6e54eef776074306ce753617",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 2127163,
"upload_time": "2024-02-16T19:33:24",
"upload_time_iso_8601": "2024-02-16T19:33:24.544109Z",
"url": "https://files.pythonhosted.org/packages/64/14/29783e8a5279235a0a3f7db312418008cc664d217c8307cbb72e417363b3/rh_test_grnotebook-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-16 19:33:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "rh-test-grnotebook"
}