koyu008 commited on
Commit
7128733
·
verified ·
1 Parent(s): 79819d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -107,6 +107,3 @@ def predict(data: TextIn):
107
  def root():
108
  return {"message": "API is running"}
109
 
110
- @app.post("/predict")
111
- def predict(input: InputText):
112
- return {"msg": "Received", "text": input.text}
 
107
  def root():
108
  return {"message": "API is running"}
109