⭐ Star me on GitHub — it helps!
This is a webapp that lets user enter a text and get back feedback in the form of emoji. The app show only two kinds of emotion - sad, when the text is negative and happy, when the text is positive!
- Python3
- Pip
Note - This package was created and tested on a Ubuntu 18.04
machine. This shouldn't stop you from experimenting on your machine. It should work in most of the cases. If not, please feel free to raise an issue or reach out to me.
- Clone this repository.
$ git clone https://github.com/ioarun/sentimoji.git
- Install
$ cd sentimoji/
$ pip install -r requirements.txt
$ python main.py
Once you run the above command, you'll see the terminal/cmd showing the following message
* Serving Flask app "main" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
As is displayed in the message, type in http://127.0.0.1:5000/
in your browser.
That's it! You'll see a web app same as shown below. Just type in any positive or negative remark like this movie is really bad
or i think this is gonna be great!
and see the magic unfold! 😉😂