- Python 3.8 or higher
- Flask
- OpenAI API key
pip(Python package installer)- Miniconda (optional, for creating a virtual environment)
-
Clone the repository:
git clone https://github.com/yourusername/speech2structure.git cd speech2structure -
Create and activate a virtual environment using Miniconda:
conda create -n speech2structure python=3.8 conda activate speech2structure
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the project root and add your OpenAI API key:OPENAI_API_KEY=your_openai_api_key
No build steps are required for this project.
-
Start the Flask server:
python app.py
-
Open your web browser and navigate to:
http://127.0.0.1:5000/ -
Use the web interface to record and process audio.
