Spaces:
Runtime error
Runtime error
Thedatababbler
commited on
Commit
·
93273ed
1
Parent(s):
8b209fa
app
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def mlm(image, text):
|
|
47 |
res[k] = predicted_tokens[0]
|
48 |
color, shape, loc = res['color'], res['shape'], res['location']
|
49 |
ans = f'{color} color, {shape} shape, cat at {loc}'
|
50 |
-
|
51 |
return image, ans
|
52 |
|
53 |
def to_black(image, text):
|
|
|
47 |
res[k] = predicted_tokens[0]
|
48 |
color, shape, loc = res['color'], res['shape'], res['location']
|
49 |
ans = f'{color} color, {shape} shape, cat at {loc}'
|
50 |
+
print(ans)
|
51 |
return image, ans
|
52 |
|
53 |
def to_black(image, text):
|