AdrienB134 commited on
Commit
f0726db
1 Parent(s): c785d73
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def model_inference(
50
  images, text, assistant_prefix= None, decoding_strategy = "Greedy", temperature= 0.4, max_new_tokens=512,
51
  repetition_penalty=1.2, top_p=0.8
52
  ):
 
53
  if text == "" and not images:
54
  gr.Error("Please input a query and optionally image(s).")
55
 
 
50
  images, text, assistant_prefix= None, decoding_strategy = "Greedy", temperature= 0.4, max_new_tokens=512,
51
  repetition_penalty=1.2, top_p=0.8
52
  ):
53
+ print(type(images))
54
  if text == "" and not images:
55
  gr.Error("Please input a query and optionally image(s).")
56