Spaces:
Runtime error
Runtime error
Commit
·
a084395
1
Parent(s):
cf06d78
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,8 @@ def index():
|
|
| 10 |
@app.route("/predict", methods=['GET'])
|
| 11 |
def predictSentiment():
|
| 12 |
args = request.args
|
| 13 |
-
return
|
|
|
|
| 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)
|