gradio-notebook


Namegradio-notebook JSON
Version 0.0.16 PyPI version JSON
download
home_page
SummaryNotebook for interacting with models in AIConfig
upload_time2024-03-08 20:22:07
maintainer
docs_urlNone
authorLastMile AI
requires_python>=3.10
license
keywords aiconfig gradio-custom-component gradio-template-fallback notebook workbook
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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": "gradio-notebook",
    "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/cc/a5/b2178dfc073b19c9b21e40603f408d0db954d4e20b2a8b4cb5407779d1eb/gradio_notebook-0.0.16.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.16",
    "project_urls": null,
    "split_keywords": [
        "aiconfig",
        "gradio-custom-component",
        "gradio-template-fallback",
        "notebook",
        "workbook"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09ad335b4af25cbe5f0b56f67ae85234ad1a7fddfb799eb1a15814feb5759816",
                "md5": "acd4d98c7d2e91578f9294efa5a6b1d6",
                "sha256": "62de25284147dd87da2407364ecbae34a813ba227476fb4b3c4e767888a9ad30"
            },
            "downloads": -1,
            "filename": "gradio_notebook-0.0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "acd4d98c7d2e91578f9294efa5a6b1d6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 525766,
            "upload_time": "2024-03-08T20:22:03",
            "upload_time_iso_8601": "2024-03-08T20:22:03.693236Z",
            "url": "https://files.pythonhosted.org/packages/09/ad/335b4af25cbe5f0b56f67ae85234ad1a7fddfb799eb1a15814feb5759816/gradio_notebook-0.0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cca5b2178dfc073b19c9b21e40603f408d0db954d4e20b2a8b4cb5407779d1eb",
                "md5": "a65d4c0d1e714f551a166e9e8dc82520",
                "sha256": "b9ae34b0a509d949b0d3799f943567242ce7ebe3727bf559d0a4e429544e58e0"
            },
            "downloads": -1,
            "filename": "gradio_notebook-0.0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "a65d4c0d1e714f551a166e9e8dc82520",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 2128241,
            "upload_time": "2024-03-08T20:22:07",
            "upload_time_iso_8601": "2024-03-08T20:22:07.395564Z",
            "url": "https://files.pythonhosted.org/packages/cc/a5/b2178dfc073b19c9b21e40603f408d0db954d4e20b2a8b4cb5407779d1eb/gradio_notebook-0.0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-08 20:22:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gradio-notebook"
}
        
Elapsed time: 0.19695s