Skip to content

Commit

Permalink
Derek/fixing s2s 3 (#2427)
Browse files Browse the repository at this point in the history
* Making GUI and API the same

* Updating the title
  • Loading branch information
datavistics authored Oct 22, 2024
1 parent 1a6a7b6 commit 020e8fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4829,7 +4829,7 @@
- open-source

- local: s2s_endpoint
title: "Deploying Speech-to-Speech on Hugging Face Inference Endpoints with a Custom Docker Container"
title: "Deploying Speech-to-Speech on Hugging Face"
author: andito
thumbnail: /blog/assets/s2s_endpoint/thumbnail.png
date: October 1, 2024
Expand Down
6 changes: 3 additions & 3 deletions s2s_endpoint.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Deploying Speech-to-Speech on Hugging Face Inference Endpoints with a Custom Docker Container"
title: "Deploying Speech-to-Speech on Hugging Face"
thumbnail: /blog/assets/s2s_endpoint/thumbnail.png
authors:
- user: andito
Expand All @@ -9,7 +9,7 @@ authors:

---

# Deploying Speech-to-Speech on Hugging Face Inference Endpoints with a Custom Docker Container
# Deploying Speech-to-Speech on Hugging Face
## Introduction

[Speech-to-Speech (S2S)](https://github.com/huggingface/speech-to-speech) is an exciting new project from Hugging Face that combines several advanced models to create a seamless, almost magical experience: you speak, and the system responds with a synthesized voice.
Expand Down Expand Up @@ -153,7 +153,7 @@ Pre-Steps
> [!WARNING] The current [huggingface-inference-toolkit entrypoint](https://github.com/huggingface/huggingface-inference-toolkit/blob/028b8250427f2ab8458ed12c0d8edb50ff914a08/scripts/entrypoint.sh#L4) uses port 5000 as default, but the inference endpoint expects port 80. You should match this in the **Container Port**. We already set it in our dockerfile, but beware if making your own from scratch!
## Inference Endpoints API
### Inference Endpoints API

Here we will walk through the steps for creating the endpoint with the API. Just use this code in your python environment of choice.

Expand Down

0 comments on commit 020e8fa

Please sign in to comment.