More Gemini Features Coming to Google TV
Google TV integrates Gemini AI for image/video generation, enhances Google Photos, and adds a dedicated YouTube Shorts feed to the homepage.
Read moreThe Hugging Face speech-to-speech project is a modular framework that integrates various open-source models using the Transformers library to facilitate speech-to-speech tasks.
This project aims to achieve capabilities comparable to GPT-4-o by leveraging open-source models, with a design that is easy to modify and meets the needs of many developers.
The workflow comprises multiple model functionalities arranged in a cascading manner, including:
Note that while not all available models need to be used, the workflow requires at least one model from each of the four categories to function correctly.
The primary goal of this workflow is to transform any input speech into another form, such as different languages or tones.
Let's set up the project in your environment to test the workflow.
First, clone the GitHub repository into your environment using the following code:
git clone https://github.com/huggingface/speech-to-speech.git cd speech-to-speech
Install the necessary packages using pip. The recommended method is to use uv, but you can also use pip:
pip install -r requirements.txt
If you are using a Mac, use the following command:
pip install -r requirements_mac.txt
Ensure that the installation is complete before proceeding. It is also advisable to use a virtual environment to avoid conflicts with your main environment.
There are several recommended methods for implementing the workflow. One approach is the server/client method.
To run the workflow on your server, use the following command:
python s2s_pipeline.py --recv_host 0.0.0.0 --send_host 0.0.0.0
Then, locally run the following command to receive microphone input and generate audio output:
python listen_and_play.py --host
If you are using a Mac, you can use the following parameters for local usage:
python s2s_pipeline.py --local_mac_optimal_settings --host
If you prefer using Docker, you will need the NVIDIA container toolkit. Once your environment is ready, simply run:
docker compose up
These are the ways to execute the workflow. Now let's look at some parameters you can explore in the Hugging Face speech-to-speech pipeline.
Each STT (speech-to-text), LM (language model), and TTS (text-to-speech) has parameters prefixed with stt, lm, or tts.
For instance, here’s how to run the workflow using CUDA:
python s2s_pipeline.py --lm_model_name microsoft/Phi-3-mini-4k-instruct --stt_compile_mode reduce-overhead --tts_compile_mode default --recv_host 0.0.0.0 --send_host 0.0.0.0
Google TV integrates Gemini AI for image/video generation, enhances Google Photos, and adds a dedicated YouTube Shorts feed to the homepage.
Read moreAlphabet Q1 paid subscribers reached 350M, fueled by YouTube & Google One. YouTube ad revenue slightly missed at $9.88B amid Premium growth. Total Q1 revenue hit $109.9B, beating forecasts.
Read moreAnthropic releases Claude connectors for Adobe, Blender, and Ableton, enabling AI workflow automation and app control. It also sponsors the Blender Development Foundation.
Read moreApple introduces an App Store model splitting 12-month plans into monthly installments. On iOS 26.4+, it lowers upfront costs without reducing total price, adding billing tracking.
Read moreGoogle launches Aadhaar digital IDs in Wallet for India, enabling secure QR/NFC verification. A phased partner rollout targets key sectors, while passport-based credentials expand globally.
Read moreYouTube tests "Ask YouTube," an AI tool blending text and video for complex queries. Initially for US Premium users, it supports interactive follow-ups, expanding Google's AI search.
Read moreGoogle grants US DoD classified AI access, joining OpenAI and xAI in defense deals amid Anthropic's dispute. Contractual safeguards against surveillance and lethal weapons remain unenforceable.
Read moreMistral AI launches Workflows, a Temporal-powered orchestration platform for secure, Python-driven enterprise AI automation featuring human-in-the-loop approvals.
Read moreCustom subliminal audio maker

AI Social Media Manager

AI Search Visibility

Workout and Calorie Tracker
Stock research platform

AI interview assistant

Scientific figure generator

AI courses with real code