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.5.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.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: friendli_gradio-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c64d500de822fe9377a189e8359c8275e77034aee235fe7f4935c27f18863ad6
MD5 6e5a7867f96a9f5ea440df79e7ce0456
BLAKE2b-256 f95b8a285a588e9e74ec47083101a0e34bde35fb46b3536daf4dad70da0ddc5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for friendli_gradio-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 55a48299eca747bf3f798bc46b79983a54bf2ff6574836a8a0c452878dd77a69
MD5 e97b85b5b802d560e22cb682b2f32ac7
BLAKE2b-256 cb73a83865fce73cdc423fb707d5425e98ed7cc6576c0fc7bc017d13268e776d

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