D3V1L1810 commited on
Commit
4ce04eb
·
verified ·
1 Parent(s): 3241495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def predict_text(params):
31
  # job_id = params.get("job_id", "")
32
 
33
  if not texts:
34
- return { "error": f"Invalid JSON input {e.msg} at line {e.lineno} column {e.colno}"}
35
 
36
  solutions = []
37
 
 
31
  # job_id = params.get("job_id", "")
32
 
33
  if not texts:
34
+ return { "error": f"No Text Given"}
35
 
36
  solutions = []
37