sanikamal commited on
Commit
35cb283
1 Parent(s): f34a95b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def get_format_response(image,question,selected_model):
22
  return answer
23
  else:
24
  outputs = model.generate(**encoding)
25
- answer = processor.decode(out[0], skip_special_tokens=True)
26
  return answer
27
 
28
 
 
22
  return answer
23
  else:
24
  outputs = model.generate(**encoding)
25
+ answer = processor.decode(outputs[0], skip_special_tokens=True)
26
  return answer
27
 
28