ahmedheakl commited on
Commit
a0b3e3b
·
verified ·
1 Parent(s): a48c931

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -0
gradio_app.py CHANGED
@@ -62,6 +62,7 @@ def load_chat(
62
  src_path = files[0]
63
  content.append({"type": "image_url", "image_url": {"url": get_gradio_url(src_path)}})
64
  messages = history + [{"role": "user", "content": content}]
 
65
  stream = client.chat.completions.create(
66
  model=model,
67
  messages=messages,
 
62
  src_path = files[0]
63
  content.append({"type": "image_url", "image_url": {"url": get_gradio_url(src_path)}})
64
  messages = history + [{"role": "user", "content": content}]
65
+ print(messages)
66
  stream = client.chat.completions.create(
67
  model=model,
68
  messages=messages,