Anonumous commited on
Commit
b1e392b
1 Parent(s): 0f3d6af

Update app.py

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