AlviGeo commited on
Commit
5ccad6b
·
verified ·
1 Parent(s): 0c4f86f

Fix return values length to fix No API found crash

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_model():
37
  def predict_batik(image: Image.Image):
38
  """Run inference and return structured Gradio outputs."""
39
  if image is None:
40
- return {}, "", "", "", "", ""
41
 
42
  from inference import predict
43
 
 
37
  def predict_batik(image: Image.Image):
38
  """Run inference and return structured Gradio outputs."""
39
  if image is None:
40
+ return {}, "", ""
41
 
42
  from inference import predict
43