KingNish commited on
Commit
010a9f5
1 Parent(s): c05b7bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ model.to("cpu")
28
 
29
  def llava(message, history):
30
  if message.files:
31
- image = message.files[0]
32
  else:
33
  for hist in history:
34
  if type(hist[0])==tuple:
 
28
 
29
  def llava(message, history):
30
  if message.files:
31
+ image = [message.files[0].path]
32
  else:
33
  for hist in history:
34
  if type(hist[0])==tuple: