From a9ec303f3f6eca1d56c465d228d45c15f94a4ca9 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Fri, 9 Oct 2020 18:09:14 +0100 Subject: [PATCH] [09.10.20] Misspelling --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index d21cc1c..a5a8122 100644 --- a/src/main.py +++ b/src/main.py @@ -28,7 +28,7 @@ def tweetPredict(): return json.dumps({'result': result, 'tweet': tweet}), 200, {'ContentType':'application/json'} @app.route('/sentimentProbeTest', methods=['GET']) -def sentimentProbeTrst(): +def sentimentProbeTest(): return json.dumps({'result': {'Score': {'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}, 'Compound': 0.0}, 'tweet': 'Fake Text'}), 200, {'ContentType':'application/json'} def callSentimentAnalyser():