A simple web application that generates Hebrew tongue twisters (skorogovorok) and allows users to view them randomly.
- Generate 20 Hebrew tongue twisters
- Display a random tongue twister from the generated list
- Responsive design with RTL (Right-to-Left) support for Hebrew
This application can be deployed to various platforms that support Python web applications:
- Connect your GitHub repository to Netlify
- Set the build command to
./netlify.sh - Set the publish directory to
. - Add environment variable
DEEPGRAM_API_KEYin the Netlify dashboard - Deploy the site
- Install the Heroku CLI
- Login to Heroku:
heroku login - Create a new Heroku app:
heroku create your-app-name - Set environment variables:
heroku config:set DEEPGRAM_API_KEY=your-api-key - Deploy the app:
git push heroku main
- Create a new Web Service on Render
- Connect your GitHub repository
- Set the build command:
pip install -r requirements.txt - Set the start command:
gunicorn app:app - Add environment variables in the Render dashboard
- Python 3.9+
- Flask
- python-dotenv
- requests
- Deepgram API key (for speech recognition)
- Clone the repository
- Create a
.envfile with your Deepgram API key:DEEPGRAM_API_KEY=your-api-key-here - Run the setup script:
This will create a virtual environment and install all dependencies.
./local_setup.sh
- Run the application:
Or manually:
./run.shsource venv/bin/activate python app.py - Open your browser and navigate to
http://localhost:5000 - Click the "Generate" button to create 20 tongue twisters
- Click the "Random" button to display a random tongue twister
- Click "Start" to begin recording your voice
- Try to pronounce the tongue twister
- The application will evaluate your pronunciation and give you a score
This application uses the Deepgram Whisper model for Hebrew speech recognition.