From e71e04a8b2760ac889abbf9bc87786a02235356b Mon Sep 17 00:00:00 2001 From: freddyaboulton Date: Wed, 4 Dec 2024 16:29:22 -0500 Subject: [PATCH] lint --- README.md | 20 ++++++++++---------- moshi/moshi/client_gradio.py | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a14c27d..4ba16d1 100644 --- a/README.md +++ b/README.md @@ -159,16 +159,6 @@ Alternatively you can run `python -m moshi_mlx.local_web` to use the web UI, the connection is via http and will be at [localhost:8998](http://localhost:8998). -## Gradio Demo - -You can launch a Gradio demo locally with the following command: - -```bash -python -m moshi.client_gradio --url -``` - -Prior to running the Gradio demo, please install `gradio-webrtc>=0.0.17`. - ## Rust In order to run the Rust inference server, use the following command from within @@ -217,6 +207,16 @@ cargo run --bin moshi-cli -r -- tui --host localhost python -m moshi.client ``` +### Gradio Demo + +You can launch a Gradio demo locally with the following command: + +```bash +python -m moshi.client_gradio --url +``` + +Prior to running the Gradio demo, please install `gradio-webrtc>=0.0.18`. + ### Docker Compose (CUDA only) ```bash diff --git a/moshi/moshi/client_gradio.py b/moshi/moshi/client_gradio.py index 08cfdf8..dbaac94 100644 --- a/moshi/moshi/client_gradio.py +++ b/moshi/moshi/client_gradio.py @@ -10,7 +10,7 @@ import websockets.sync.client from gradio_webrtc import AdditionalOutputs, StreamHandler, WebRTC except ImportError: - raise ImportError("Please install gradio-webrtc>=0.0.17 to run this script.") + raise ImportError("Please install gradio-webrtc>=0.0.18 to run this script.") # See https://freddyaboulton.github.io/gradio-webrtc/deployment/ for # instructions on how to set the rtc_configuration variable for deployment