Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ inference = Inference(model, vectorizer)
|
|
46 |
|
47 |
@app.get("/")
|
48 |
def home():
|
|
|
49 |
return {"message": "Welcome to Sentiment Analysis API"}
|
50 |
|
51 |
@app.get("/predict/{review}")
|
|
|
46 |
|
47 |
@app.get("/")
|
48 |
def home():
|
49 |
+
review = input("Enter a review: ")
|
50 |
return {"message": "Welcome to Sentiment Analysis API"}
|
51 |
|
52 |
@app.get("/predict/{review}")
|