Giter VIP home page Giter VIP logo

devsinghpawar / aidreamwhisper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davicoscarelli/aidreamwhisper

0.0 0.0 0.0 125.19 MB

AI Dream Whisper is a groundbreaking application that leverages the power of artificial intelligence to transform passive nighttime hours into a unique learning experience through auditory stimuli.

Home Page: https://devpost.com/software/ai-dream-whisper

JavaScript 8.62% Python 60.16% HTML 31.22%

aidreamwhisper's Introduction

AI Dream Whisper

AI Dream Whisper

AI Dream Whisper is a groundbreaking application that leverages the power of artificial intelligence to transform passive nighttime hours into a unique learning experience. Drawing inspiration from scientific research on the enhancement of learning through auditory stimuli during REM sleep, this app provides students with calming, educational stories designed for nighttime learning.

Technologies Used

  • OpenAI: Used for generating educational stories based on user input.
  • PlayHT: A text-to-speech API used for converting the generated stories into audio format.
  • Flask: A lightweight web framework for Python, used to set up the web server and handle requests.
  • Bootstrap: A popular CSS framework used for styling the web interface.

How to Run

  1. Clone the repository:

    git clone https://github.com/davicoscarelli/AIDreamWhisper.git
    
  2. Navigate to the repository directory:

    cd AIDreamWhisper
    
  3. Install the required Python dependencies:

    pip install -r requirements.txt
    
  4. Set up your environment variables by creating a .env file in the root directory of the project. Add the following API keys:

    • PLAYHT_API_KEY & PLAYHT_USER_ID:

      • Visit the API Access page play.ht/studio/api-access
      • If you haven't already, sign in to your existing account.
      • Click the "Generate Secret Key" button. Your API Secret Key will be displayed. Make sure to copy and store it securely.
      • Find your User ID on the same page under the "User ID" section. Copy it for future reference.
    • OPENAI_API_KEY:

      • The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests.

    Your .env file should look like this:

    PLAYHT_API_KEY=your_playht_api_key
    PLAYHT_USER_ID=your_playht_user_id
    OPENAI_API_KEY=your_openai_api_key
    
  5. Run the Flask application:

    python main.py
    
  6. Open a web browser and navigate to http://localhost:5000 to access the application.


Developed with ❤️ by Davi Coscarelli. For any queries or feedback, please raise an issue in the repository.

aidreamwhisper's People

Contributors

davicoscarelli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.