Skip to main content

Serve FastAI and get a Web UI with one line of code

Project description

servefastai

Serve FastAI models and get a web-based UI to test them out with a single line of code.

screenshot

Installation

Install with pip. Make sure you have fastai already installed.

pip install servefastai

Usage

from servefastai import serve
serve(learn)

learn should be a FastAI learner object. Navigate to http://PUBLIC_IP:9999 , where PUBLIC_IP is the public IP address of the machine running the Jupyter notebook. You will see a form where you can upload one or more images. Upload the images and click submit to view the predictions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

servefastai-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

servefastai-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file servefastai-0.1.1.tar.gz.

File metadata

  • Download URL: servefastai-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for servefastai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cf8cc9d77aac4cb38671e25ac16c96bcc858e3a80990fccb805d9faa61164cc6
MD5 ff8549c36abf774115837c59028fbfa0
BLAKE2b-256 b9816de10a4a9198d281b890d3d4b770b68498ad166765f9f501f8ea49c75f38

See more details on using hashes here.

File details

Details for the file servefastai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: servefastai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for servefastai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f4efd7863b8629f23b4a82912a2a3790a0a654919eaad3486b93075ed69634b
MD5 7d32f1794c1d548dd9640932142fb39e
BLAKE2b-256 755e72d622839c337a56cd83c400bb0090b2995ea804232c08cba4df6d2e7c16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page