Skip to content

This repository contains a Streamlit-based application that leverages Azure Speech Services for both Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities. With an intuitive user interface, users can easily transcribe real-time audio or generate speech from entered text using Azure's powerful AI capabilities.

License

Notifications You must be signed in to change notification settings

Sgvkamalakar/Azure_AI_Speech_Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Speech Services with Streamlit 🗣️📝

Welcome to the Azure Speech Services with Streamlit repository! This project provides a user-friendly interface for interacting with Azure Speech Services, offering Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities. The integration with Streamlit makes it easy for users to transcribe real-time audio or generate speech from entered text using Azure's powerful AI capabilities.

Features

  • Speech-to-Text (STT): Real-time transcription of spoken language.
  • Text-to-Speech (TTS): Convert entered text into synthesized speech.

Technologies Used

  • Azure Speech SDK: Utilizes Azure Cognitive Services for speech-related tasks.
  • Streamlit: Provides a user-friendly web interface for interacting with the Azure Speech Services.

Getting Started

  1. Clone the repository:
      git clone https://github.com/Sgvkamalakar/Azure_AI_Speech_Services
  2. Install dependencies
    pip install -r requirements.txt
  3. Set up Azure Speech API key and service region:
    • Create a .env file based on the provided .env.sample.
    • Add your Azure Speech API key and service region to the .env file.
  4. Run the application:
    streamlit run app.py
    

Usage

  • Speech-to-Text (STT): Click on "Start Transcription" to transcribe real-time audio.
  • Text-to-Speech (TTS): Enter text in the provided text area and click "Generate Speech" to synthesize speech.

How to Contribute

We welcome contributions from the community! If you'd like to contribute to the development of Azure Speech Services with Streamlit, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/new-feature.
  3. Make your changes and commit: git commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature/new-feature.
  5. Submit a pull request.

Connect with Me

LinkedIn

Additional Information

  • The application is designed with a user-friendly interface, allowing users to choose between Speech-to-Text and Text-to-Speech functionalities.
  • Real-time audio transcription is supported for Speech-to-Text.
  • The project is structured for easy integration and further development.

About

This repository contains a Streamlit-based application that leverages Azure Speech Services for both Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities. With an intuitive user interface, users can easily transcribe real-time audio or generate speech from entered text using Azure's powerful AI capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages