Anonumous commited on
Commit
3cf7bc9
1 Parent(s): b1e392b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 texts
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)