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 Loading

  1. fxn fxn Public

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

    Python 38 5

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

  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
  • fxnjs Public

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

    fxnai/fxnjs’s past year of commit activity
    TypeScript 4 Apache-2.0 1 1 0 Updated Jul 20, 2024
  • fxn3d Public

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

    fxnai/fxn3d’s past year of commit activity
    C# 3 Apache-2.0 4 0 0 Updated Jul 17, 2024
  • fxnc Public

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

    fxnai/fxnc’s past year of commit activity
    C 0 Apache-2.0 1 0 0 Updated Jul 11, 2024
  • docs Public

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

    fxnai/docs’s past year of commit activity
    JavaScript 0 0 1 0 Updated Jul 1, 2024
  • fxn Public

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

    fxnai/fxn’s past year of commit activity
    Python 38 Apache-2.0 5 0 0 Updated Jun 11, 2024
  • .github Public

    A bit about us.

    fxnai/.github’s past year of commit activity
    0 0 0 0 Updated May 9, 2024
  • samples Public

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

    fxnai/samples’s past year of commit activity
    Jupyter Notebook 0 1 0 0 Updated Sep 29, 2023

Top languages

Loading…

Most used topics

Loading…