This project integrates speech-to-text conversion, text-to-code generation, and Streamlit presentation to facilitate the seamless transformation of spoken programming instructions into code snippets with an interactive user interface.
- Speech-to-Text Conversion: Converts spoken input into text using the Python
speech_recognition
library. - Text-to-Code Generation: Leverages the capabilities of Code Llama to interpret textual commands and generate corresponding code snippets.
- Streamlit Presentation: Utilizes Streamlit to display the generated code snippets in an interactive and user-friendly interface.
Before you can use this tool, you'll need to install several dependencies. This guide assumes you have Python installed on your system.
git clone https://github.com/Santhoshcv19/Speech_To_Code
cd Speech_To_Code
pip install -r requirements.txt
To use the tool, follow these steps:
-
Run the provided Colab code blocks to generate a public URL for your speech-to-code services.
-
Replace the placeholder URL in the
stream.py
file with the URLs generated from Colab -
Start the Streamlit application:
streamlit run stream.py