Skip to content

Y-khaokaew/ACL-2024-System-Demonstration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZzzGPT: An Interactive GPT Approach to Enhance Sleep Quality

This repository has the code for the demonstration submitted for ACL 2024 System Demonstration.

Getting Started

Follow these steps to set up and run the application:

  1. Set up the environment and Install Dependencies:
conda create --name chatbot python=3.8.8
conda activate chatbot
pip install -r requirements.txt 
conda install -c conda-forge catboost
  1. Set Environment Variables:

Create a file named api.env in your project root directory and add the following line:

OPENAI_API_KEY='your_openai_api_key_here'

  1. Run Flask:

To be able to serve the requests coming from the javascript code, you need to configure and run flask server (change the port if needed).

For Mac:

export FLASK_APP=flask_server.py
flask run --port 3000

For Windows:

set FLASK_APP=flask_server.py
flask run --port 3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.9%
  • Python 30.5%
  • CSS 11.4%
  • HTML 6.2%