Spaces:
Runtime error
Runtime error
jonathanjordan21
commited on
Commit
·
d0d4d9c
1
Parent(s):
70e05ce
Fix Error : Change image variable ot inp parameter in predict function
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def predict(inp):
|
|
42 |
return processor.token2json(sequence3)
|
43 |
|
44 |
#Generate Output
|
45 |
-
out = get_komposisi("", Image.open(BytesIO(
|
46 |
return out
|
47 |
|
48 |
|
|
|
42 |
return processor.token2json(sequence3)
|
43 |
|
44 |
#Generate Output
|
45 |
+
out = get_komposisi("", Image.open(BytesIO(inp)))
|
46 |
return out
|
47 |
|
48 |
|