Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed Dec 4, 2024
1 parent 0038c51 commit e71e04a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <moshi-server-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
Expand Down Expand Up @@ -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 <moshi-server-url>
```

Prior to running the Gradio demo, please install `gradio-webrtc>=0.0.18`.

### Docker Compose (CUDA only)

```bash
Expand Down
2 changes: 1 addition & 1 deletion moshi/moshi/client_gradio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e71e04a

Please sign in to comment.