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 --upgrade

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.2.tar.gz (651.4 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.2-py2-none-any.whl (666.8 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: servefastai-0.1.2.tar.gz
  • Upload date:
  • Size: 651.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for servefastai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6d5c9975286a802d47a7caaef213119ab44f164b40ef2f83a8cb60b26f854b06
MD5 a227188b6196bb8aaa35e305986bca9b
BLAKE2b-256 b01e16cf5afe3aacae76ad15cc1622d0497a5d8bfac4d6d730169b9b0ff42f23

See more details on using hashes here.

File details

Details for the file servefastai-0.1.2-py2-none-any.whl.

File metadata

  • Download URL: servefastai-0.1.2-py2-none-any.whl
  • Upload date:
  • Size: 666.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for servefastai-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 983947a3172f89d99ec5049b894253160dda6236995382960eb5260b51202393
MD5 1e5d60999c89dbc3d183d6c16bda1988
BLAKE2b-256 9e221fff28260e5640008d34e490e3c174ba644cd61662e9b5ed77f6b38e9879

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