Skip to content

Commit

Permalink
Merge pull request facebookresearch#127 from hysts/add-gradio-demo
Browse files Browse the repository at this point in the history
Add Gradio demo
  • Loading branch information
cndn authored Sep 7, 2023
2 parents 65617b6 + 208ba69 commit c31e56b
Show file tree
Hide file tree
Showing 4 changed files with 731 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ m4t_predict <input_text> t2tt <tgt_lang> --src_lang <src_lang>

Please refer to the [inference README](scripts/m4t/predict) for detailed instruction on how to run inference and the list of supported languages on the source, target sides for speech, text modalities.

## Running [Gradio](https://github.com/gradio-app/gradio) demo locally

A demo is hosted [here](https://huggingface.co/spaces/facebook/seamless_m4t) on Hugging Face Spaces, but you can also try it locally.

```bash
cd demo
pip install -r requirements.txt
python app.py
```

# Libraries

Seamless Communication depends on 3 libraries developed by Meta.
Expand Down
1 change: 1 addition & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
assets
Loading

0 comments on commit c31e56b

Please sign in to comment.