Skip to content
@fxnai

Function

We compile and run your Python functions on mobile, web, desktop, and in the cloud.

Function

function logo

Dynamic JSON Badge

Run AI prediction functions (a.k.a. "predictors") on mobile, web, and in the cloud--all from a predict function in a Jupyter Notebook. Go from this:

pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=float16)

def predict (prompt: str):
    # Generate an image using Stable Diffusion
    return pipeline(prompt).images[0]

To this:

prediction

If you don't have your own predictor, or don't know how to create one, you can use any of the available predictors on Function. You can make predictions using our client libraries:

We have clients for iOS (Swift) and Android (Java/Kotlin) coming soon! A few useful links:

Function is a product of NatML Inc.

Pinned

  1. fxn fxn Public

    Run Python functions on desktop, mobile, web, and in the cloud. Register at https://fxn.ai

    Python 38 6

  2. fxnjs fxnjs Public

    Run Python functions in the browser and Node.js. Register at https://fxn.ai

    TypeScript 4 1

  3. fxnc fxnc Public

    Function unified C/C++ API for running Python functions on desktop, mobile, web, and in the cloud. Register at https://fxn.ai

    C++ 1

  4. fxn3d fxn3d Public

    Run Python functions in Unity3D. Register at https://fxn.ai

    C# 3 3

  5. samples samples Public

    Samples on how you can use Function to build AI apps. Register at https://fxn.ai

    Jupyter Notebook 1

  6. docs docs Public

    Function documentation, for both our users and the Function team. Register at https://fxn.ai

    JavaScript

Repositories

Showing 7 of 7 repositories

Top languages

Loading…

Most used topics

Loading…