Skip to content

peterruler/ai-diagnosis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speech2Structure

Prerequisites

  • Python 3.8 or higher
  • Flask
  • OpenAI API key
  • pip (Python package installer)
  • Miniconda (optional, for creating a virtual environment)

Install

  1. Clone the repository:

    git clone https://github.com/yourusername/speech2structure.git
    cd speech2structure
  2. Create and activate a virtual environment using Miniconda:

    conda create -n speech2structure python=3.8
    conda activate speech2structure
  3. Install the required packages:

    pip install -r requirements.txt
  4. Create a .env file in the project root and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key

Build

No build steps are required for this project.

Run / Call in Web Browser

  1. Start the Flask server:

    python app.py
  2. Open your web browser and navigate to:

    http://127.0.0.1:5000/
    
  3. Use the web interface to record and process audio.

Demo

image

About

speech2structure with openai

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors