Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme.md Update #42

Merged
merged 1 commit into from
Mar 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# CS-Bots
[![BCH compliance](https://bettercodehub.com/edge/badge/aditya109/CS-Bot?branch=master)](https://bettercodehub.com/) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/cbd5891dbea04a2aad56fa4164328707)](https://www.codacy.com/manual/aditya109/CS-Bot?utm_source=github.com&utm_medium=referral&utm_content=aditya109/CS-Bot&utm_campaign=Badge_Grade)
Prerequisites to be installed :

https://docs.google.com/document/d/1ToO1D_evbfdIN88-9JRJEftSbTMoUfKfCxxOowS5-Tw/edit
- nodeJS
- python (>=3.6)
- pip (>=20.0.2)


Steps to set this system up (**For Windows**):

1. Clone this repository **inside** any directory (let's assume for this instance folder's name to be `temp` )using the following command :
` git clone https://github.com/Akanksha810/CS-Bot`

2. Setting up ReactJS Frontend :
Open a terminal instance in your directory (`temp` here) and then run the following commands :
`cd .\CS-Bot\bot-ui\ `
`npm install`
`npm start`

> This will probably start up **React** **UI-Server** on `http://localhost:3000`.
> Browse to this link to start the UI

3. Setting up the Py-Flask server :
Open another terminal instance in your directory (`temp` here) and then run the following commands :
` cd .\CS-Bot\bot-server\ `
`pip install -r requirements.txt`
`python main.py`

> This will probably start up **Flask Backend-Server** on `http://localhost:5010`.

START using the software and have fun !!

Alpha Testing Credits:
- Aryan [email]([email protected])
Expand Down
Binary file modified bot-server/__pycache__/classifier.cpython-37.pyc
Binary file not shown.
Binary file modified bot-server/__pycache__/handlers.cpython-37.pyc
Binary file not shown.
Binary file modified bot-server/__pycache__/shorten.cpython-37.pyc
Binary file not shown.
Binary file removed bot-server/handlers.pyc
Binary file not shown.
Binary file added bot-server/requirements.txt
Binary file not shown.
Binary file removed bot-server/shorten.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion output-files/classify-output.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{'Arts': 0.758014, 'Society': 0.0905029, 'Games': 0.0404046, 'Science': 0.0305192, 'Computers': 0.023625, 'Health': 0.0146723, 'Home': 0.0110422, 'Sports': 0.0110219, 'Recreation': 0.0105335, 'Business': 0.00966405, 'text_coverage': 0.648649}
{'Recreation': 0.280883, 'Science': 0.145449, 'Business': 0.130778, 'Computers': 0.114978, 'Games': 0.0698031, 'Society': 0.0650845, 'Home': 0.0603097, 'Arts': 0.0583867, 'Health': 0.0442572, 'Sports': 0.0300698, 'text_coverage': 0.698842}
5 changes: 3 additions & 2 deletions output-files/summarize-output.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
26 April 1564 � 23 April 1616)[a] was an English poet, playwright, and actor, widely regarded as the greatest writer in the English language and the world's greatest dramatist.[2][3][4] He is often called England's national poet and the "Bard of Avon" (or simply "the Bard").[5][b] His extant works, including collaborations, consist of some 39 plays,[c] 154 sonnets, two long narrative poems, and a few other verses, some of uncertain authorship.
However, in 1623, two fellow actors and friends of Shakespeare's, John Heminges and Henry Condell, published a more definitive text known as the First Folio, a posthumous collected edition of Shakespeare's dramatic works that included all but two of his plays.[13] The volume was prefaced with a poem by Ben Jonson, in which Jonson presciently hails Shakespeare in a now-famous quote as "not of an age, but for all time".[13]
There are costs and benefits to car use.
The costs to the individual include acquiring the vehicle, interest payments (if the car is financed), repairs and maintenance, fuel, depreciation, driving time, parking fees, taxes, and insurance.[6] The costs to society include maintaining roads, land use, road congestion, air pollution, public health, health care, and disposing of the vehicle at the end of its life.
People's ability to move flexibly from place to place has far-reaching implications for the nature of societies.[9] There are around 1 billion cars in use worldwide.