Spaces:
Runtime error
Runtime error
Commit
·
e00393e
1
Parent(s):
88462ff
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def index():
|
|
9 |
|
10 |
@app.route("/predict/<text>")
|
11 |
def predictSentiment(text):
|
12 |
-
return text
|
13 |
-
|
14 |
|
15 |
if __name__ == "__main__":
|
16 |
app.run(host="0.0.0.0", port=7860)
|
|
|
9 |
|
10 |
@app.route("/predict/<text>")
|
11 |
def predictSentiment(text):
|
12 |
+
#return text
|
13 |
+
return predict(text)
|
14 |
|
15 |
if __name__ == "__main__":
|
16 |
app.run(host="0.0.0.0", port=7860)
|