Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wieczorek1990/emotional
https://github.com/wieczorek1990/emotional
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wieczorek1990/emotional
- Owner: wieczorek1990
- Created: 2019-06-28T09:33:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-28T09:33:53.000Z (over 5 years ago)
- Last Synced: 2024-11-24T15:16:32.903Z (2 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
emotional
=========Emotional chatbot.
## Usage
Please provide the environment variables for those commands.
Installing requirements:
```bash
pip3 install -r requirements.txt
```Starting server:
```bash
IAM_API_KEY= FB_PAGE_TOKEN= FB_VERIFY_TOKEN= FLASK_APP=server.py flask run -h 0.0.0.0 -p 80
```Mood testing:
```bash
IAM_API_KEY= python3 mood.py 'I feel great.'
positive
IAM_API_KEY= python3 mood.py 'I feel very bad about this. I feel great.'
neutral
IAM_API_KEY= python3 mood.py 'I feel very bad about this.'
negative
```Deployment to GAE
```bash
# gcloud init
cp app.yaml.example app.yaml
# Edit app.yaml
gcloud app deploy
```## Time spent
### Day 1.
9:08-11.48
13:19-15:06
15:39-18:54
### Day 2.
9:42-11.01
11:41-