rphrp1985 commited on
Commit
3508dbc
·
verified ·
1 Parent(s): 8625475

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def run_inference(message, history):
56
  tmmp=[]
57
  for y in x['content']:
58
  if y['type']=='image':
59
- tmmp+=[ImageURLChunk(image_url= url_to_base64(y['url'])]
60
  else:
61
  tmmp+=[TextChunk(text= y['text'] )]
62
  final_msg.append(UserMessage(content =tmmp ) )
 
56
  tmmp=[]
57
  for y in x['content']:
58
  if y['type']=='image':
59
+ tmmp+=[ImageURLChunk(image_url= url_to_base64(y['url'])) ]
60
  else:
61
  tmmp+=[TextChunk(text= y['text'] )]
62
  final_msg.append(UserMessage(content =tmmp ) )