Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -228,7 +228,7 @@ def classify_image(inp):
|
|
228 |
inp = Image.fromarray(inp)
|
229 |
prefix, text = create_emb(inp)
|
230 |
ans = get_ans(prefix, text)
|
231 |
-
return
|
232 |
|
233 |
image = gr.inputs.Image(shape=(196, 196))
|
234 |
label = gr.outputs.Label(num_top_classes=3)
|
|
|
228 |
inp = Image.fromarray(inp)
|
229 |
prefix, text = create_emb(inp)
|
230 |
ans = get_ans(prefix, text)
|
231 |
+
return ans
|
232 |
|
233 |
image = gr.inputs.Image(shape=(196, 196))
|
234 |
label = gr.outputs.Label(num_top_classes=3)
|