furquan commited on
Commit
bd54057
1 Parent(s): 17713fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -116,8 +116,6 @@ def sentiment_analysis(tweets,topic):
116
  API_URL = "https://api-inference.huggingface.co/models/cardiffnlp/twitter-roberta-base-sentiment"
117
  headers = {"Authorization": huggingFaceAuth}
118
 
119
- print(len(tweet_procs))
120
-
121
  def query(payload):
122
  response = requests.post(API_URL, headers=headers, json=payload)
123
  return response.json()
 
116
  API_URL = "https://api-inference.huggingface.co/models/cardiffnlp/twitter-roberta-base-sentiment"
117
  headers = {"Authorization": huggingFaceAuth}
118
 
 
 
119
  def query(payload):
120
  response = requests.post(API_URL, headers=headers, json=payload)
121
  return response.json()