koyu008 commited on
Commit
5f33fe9
·
verified ·
1 Parent(s): a3af327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -92,6 +92,7 @@ class TextIn(BaseModel):
92
  @app.post("/api/predict")
93
  def predict(data: TextIn):
94
  text = data.text
 
95
  try:
96
  lang = detect(text)
97
  except:
 
92
  @app.post("/api/predict")
93
  def predict(data: TextIn):
94
  text = data.text
95
+ print(f"Input message: {text}")
96
  try:
97
  lang = detect(text)
98
  except: