Sravanth commited on
Commit
7371f57
1 Parent(s): 9187dc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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}")