Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -226,7 +226,7 @@ model.eval()
|
|
| 226 |
def classify_image(inp):
|
| 227 |
print(type(inp))
|
| 228 |
inp = Image.fromarray(inp)
|
| 229 |
-
prefix, text = create_emb(
|
| 230 |
ans = get_ans(prefix, text)
|
| 231 |
return texts
|
| 232 |
|
|
|
|
| 226 |
def classify_image(inp):
|
| 227 |
print(type(inp))
|
| 228 |
inp = Image.fromarray(inp)
|
| 229 |
+
prefix, text = create_emb(inp)
|
| 230 |
ans = get_ans(prefix, text)
|
| 231 |
return texts
|
| 232 |
|