jonathanjordan21 commited on
Commit
fd5c436
·
1 Parent(s): 1d9a0f0

Fix Error : Remove unnecessary BytesIO conversion

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def predict(inp):
46
  return processor.token2json(sequence3)
47
 
48
  #Generate Output
49
- out = get_komposisi("", Image.open(BytesIO(inp)))
50
  return out
51
 
52
 
 
46
  return processor.token2json(sequence3)
47
 
48
  #Generate Output
49
+ out = get_komposisi("", inp)
50
  return out
51
 
52