Skip to content

KarthikaRajagopal44/Text-to-voice-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot (249)

Edge TTS Text-to-Speech Gradio App

This project is a Text-to-Speech (TTS) web application built with Gradio and powered by Microsoft Edge TTS voices. It allows users to input text, select a voice, adjust speech rate and pitch, and instantly generate spoken audio.

Features

--- Full list of Microsoft Edge TTS voices (different languages, genders).

--- Adjustable speech rate (faster/slower speech).

--- Adjustable pitch (higher/lower voice tone).

--- Instant preview of generated audio (MP3 format).

--- Simple Gradio web UI, easy to use and share.

Tech Stack

Python 3.8+

Gradio (for the user interface)

edge-tts (Microsoft Edge's free TTS API)

asyncio (for asynchronous voice generation)

Tempfile + OS (for handling audio files temporarily)

Installation and Setup

  1. Clone this repository

git clone https://github.com/KarthikaRajagopal44/Text-to-voice-chatbot.git cd Text-to-voice-chatbot

  1. Install dependencies

pip install -r requirements.txt

  1. Run the app

python app.py Access the app It will be available at: http://localhost:7860

About

Text-to-Speech (TTS) web application built with Gradio and powered by Microsoft Edge TTS voices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages