Skip to main content

A Python package for creating Gradio applications with Friendli serverless models

Project description

friendli-gradio

Open In Colab

is a Python package that makes it very easy for developers to create machine learning apps that are powered by Friendli's API.

Installation

You can install friendli-gradio directly using pip:

pip install -U friendli-gradio

That's it!

Basic Usage

Just like if you were to use the friendli API, you should first save your Friendli API key to this environment variable:

export FRIENDLI_TOKEN=<your token>

Then in a Python file, write:

import gradio as gr
import friendli_gradio

gr.load(
    name='Qwen/Qwen3-235B-A22B-Instruct-2507',
    src=friendli_gradio.registry,
).launch()

Run the Python file, and you should see a Gradio ChatInterface connected to the model on Friendli!

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

friendli_gradio-0.0.4.tar.gz (109.5 kB view details)

Uploaded Source

Built Distribution

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

friendli_gradio-0.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file friendli_gradio-0.0.4.tar.gz.

File metadata

  • Download URL: friendli_gradio-0.0.4.tar.gz
  • Upload date:
  • Size: 109.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.12

File hashes

Hashes for friendli_gradio-0.0.4.tar.gz
Algorithm Hash digest
SHA256 47becad2fd7154f4bf7b5a4206c14250f5d463039654a5643589b36226192f96
MD5 d0baab5ee9878d899c5d500995377907
BLAKE2b-256 3b68fe9f877d921cb8d432d841c142df8ff7e44b9d2173abdda25b9f63941e26

See more details on using hashes here.

File details

Details for the file friendli_gradio-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for friendli_gradio-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8016efdea2336ee63dbf7f6c6b1afbd1d254ceacf5bcc071c51025b924928d
MD5 812b046e65e5eca1b7dc822a5e252016
BLAKE2b-256 93d7919d6de4772bcf6df4aeae7d1376645176bd2002aa8424dedf304495cfa5

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