filipeclduarte commited on
Commit
a084395
·
1 Parent(s): cf06d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ def index():
10
  @app.route("/predict", methods=['GET'])
11
  def predictSentiment():
12
  args = request.args
13
- return predict(args.get("text"))
 
14
 
15
  if __name__ == "__main__":
16
  app.run(host="0.0.0.0", port=7860)
 
10
  @app.route("/predict", methods=['GET'])
11
  def predictSentiment():
12
  args = request.args
13
+ return args
14
+ #return predict(args.get("text"))
15
 
16
  if __name__ == "__main__":
17
  app.run(host="0.0.0.0", port=7860)