A Python package for creating Gradio applications with Friendli serverless models
Project description
friendli-gradio
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64d500de822fe9377a189e8359c8275e77034aee235fe7f4935c27f18863ad6
|
|
| MD5 |
6e5a7867f96a9f5ea440df79e7ce0456
|
|
| BLAKE2b-256 |
f95b8a285a588e9e74ec47083101a0e34bde35fb46b3536daf4dad70da0ddc5f
|
File details
Details for the file friendli_gradio-0.0.5-py3-none-any.whl.
File metadata
- Download URL: friendli_gradio-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a48299eca747bf3f798bc46b79983a54bf2ff6574836a8a0c452878dd77a69
|
|
| MD5 |
e97b85b5b802d560e22cb682b2f32ac7
|
|
| BLAKE2b-256 |
cb73a83865fce73cdc423fb707d5425e98ed7cc6576c0fc7bc017d13268e776d
|