Code Monkey home page Code Monkey logo

tweet-sense's Introduction

Hi there, I'm Rohit! ๐Ÿ‘‹

I'm a software engineer who just likes building things that only impresses my mom (only 4 out of 10 times).

About Me

  • ๐ŸŒฑ Iโ€™m currently building a custom set of tools that improve my productivity, for e.g. Pearl UI is my React Native UI library - trust me, it's cool (my mom says so)
  • ๐Ÿ’ฌ Ask me about Product design, Machine learning, Full Stack Development, and Large Language Models (LLMs).
  • โšก Fun fact: During weekends, you can find me sweating in a Valorant ranked lobby or binging GothamChess videos.
  • ๐Ÿ“ซ How to reach me: [email protected]

Connect with me

Website LinkedIn Twitter

Technologies & Tools

  • Languages: JavaScript, Typescript, Python
  • Frameworks: ReactJS, NestJS, Chakra UI, TailwindCSS, MongoDB

Thanks for stopping by! Feel free to reach out if you'd like to collaborate on a project or just have a chat. ๐Ÿ˜Š


Rohit's GitHub stats Top Langs

tweet-sense's People

Contributors

agrawal-rohit avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tweet-sense's Issues

server not working

I'm trying to hit localhost 8000 but it doesn't seem to respond.
See if you can spot the error in the media ?
The server doesn't seem to be running after the docker image is made . Need help ASAP

I followed these steps

Running the application

  1. Download the trained model and put into the server/main folder
    (Note: This is the CNN model. if you want use the LSTM model, you'll need to follow the training steps below and put the saved model in server/main. Also, don't forget to change the loaded model name in server/main/init.py )

  2. Get your Twitter API credentials through Keys and Tokens tab under the Twitter Developer Portal Projects & Apps page and add them to the /server/main/config.py file.

  3. Run docker-compose up --build in the terminal from the root folder
    (Note: Ensure that you have Docker installed)

  4. Open http://localhost:5000 in your browser to access the app

port
dep1
ev11

wikipedia api not working

as shown in the screenshot .. it is not able to get summary of the keyword searched via the wikipedia api

not working

I liked your project and your ideas, but for some reason its not working.

project not working

After runing install all the npm and python requirements,using python manage.py runserver to run the server the analysis work for maximum of 2-3 times and after that it stops working ..and that too is completely random .
the only error it shows is some sort of Error: manifest.json not found
if somebody is willing to help ..pls do help me out

Endless loop in running http://localhost:3000/ via npm

Hi there. Nice repo.
I successfully built and ran your code locally with the help of docker-ce and npm.I would soon pull your repo and help rewrite the install procedures. In the meantime, please could you suggest the reason why after typing a tweet query in the input box, the app continues a a looped condition or interface without going forward.

image
and
image

Please kindly advise...

SETUP HELP

HELLO MY NAME IS RITAM

I REALLY LOVE YOUR PROJECT AND WANT TO IMPROVE UPON IT FOR ONE OF MY COLLEGE PROJECTS, IT WOULD BE HELPFUL IF YOU COULD TELL ME HOW AND WHERE TO SETUP THE TWITTER API AND ANY OTHER API IF NEEDED.

THANK YOU

Twitter Error 403

[2022-11-23 20:32:50 +0000] [9] [ERROR] Error handling request /analyzehashtag?text=elon
twitter-sentiment-analysis-web-app-server-1 | Traceback (most recent call last):
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 134, in handle
twitter-sentiment-analysis-web-app-server-1 | self.handle_request(listener, req, client, addr)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 175, in handle_request
twitter-sentiment-analysis-web-app-server-1 | respiter = self.wsgi(environ, resp.start_response)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 2464, in call
twitter-sentiment-analysis-web-app-server-1 | return self.wsgi_app(environ, start_response)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 2450, in wsgi_app
twitter-sentiment-analysis-web-app-server-1 | response = self.handle_exception(e)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask_cors/extension.py", line 165, in wrapped_function
twitter-sentiment-analysis-web-app-server-1 | return cors_after_request(app.make_response(f(*args, **kwargs)))
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 1867, in handle_exception
twitter-sentiment-analysis-web-app-server-1 | reraise(exc_type, exc_value, tb)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
twitter-sentiment-analysis-web-app-server-1 | raise value
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
twitter-sentiment-analysis-web-app-server-1 | response = self.full_dispatch_request()
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
twitter-sentiment-analysis-web-app-server-1 | rv = self.handle_user_exception(e)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask_cors/extension.py", line 165, in wrapped_function
twitter-sentiment-analysis-web-app-server-1 | return cors_after_request(app.make_response(f(*args, **kwargs)))
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
twitter-sentiment-analysis-web-app-server-1 | reraise(exc_type, exc_value, tb)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
twitter-sentiment-analysis-web-app-server-1 | raise value
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
twitter-sentiment-analysis-web-app-server-1 | rv = self.dispatch_request()
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
twitter-sentiment-analysis-web-app-server-1 | return self.view_functionsrule.endpoint
twitter-sentiment-analysis-web-app-server-1 | File "/app/main/init.py", line 77, in analyzehashtag
twitter-sentiment-analysis-web-app-server-1 | for tweet in tweepy.Cursor(api.search,q="#" + request.args.get("text") + " -filter:retweets",rpp=5,lang="en", tweet_mode='extended').items(100):
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/tweepy/cursor.py", line 49, in next
twitter-sentiment-analysis-web-app-server-1 | return self.next()
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/tweepy/cursor.py", line 197, in next
twitter-sentiment-analysis-web-app-server-1 | self.current_page = self.page_iterator.next()
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/tweepy/cursor.py", line 108, in next
twitter-sentiment-analysis-web-app-server-1 | data = self.method(max_id=self.max_id, parser=RawParser(), *self.args, **self.kargs)
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/tweepy/binder.py", line 250, in _call
twitter-sentiment-analysis-web-app-server-1 | return method.execute()
twitter-sentiment-analysis-web-app-server-1 | File "/opt/venv/lib/python3.6/site-packages/tweepy/binder.py", line 234, in execute
twitter-sentiment-analysis-web-app-server-1 | raise TweepError(error_msg, resp, api_code=api_error_code)
twitter-sentiment-analysis-web-app-server-1 | tweepy.error.TweepError: Twitter error response: status code = 403
twitter-sentiment-analysis-web-app-server-1 | 172.18.0.1 - - [23/Nov/2022:20:32:50 +0000] "GET /analyzehashtag?text=elon HTTP/1.1" 500 0 "-" "-"

trained model file

File 'main_app/Sentiment_LSTM_model.h5' is just 1KB after cloning. How can I get the complete trained model ?

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.