martillopartbsc commited on
Commit
a831b27
·
verified ·
1 Parent(s): 7bcefc4

Update infer_onnx.py

Browse files
Files changed (1) hide show
  1. infer_onnx.py +1 -1
infer_onnx.py CHANGED
@@ -26,7 +26,7 @@ def intersperse(lst, item):
26
 
27
  def check_input(text):
28
  if len(text) > 500:
29
- raise gr.Error("Wrong input, more than 5 characters")
30
  else:
31
  return text
32
 
 
26
 
27
  def check_input(text):
28
  if len(text) > 500:
29
+ raise gr.Error("Wrong input, more than 500 characters.")
30
  else:
31
  return text
32