runtime error

-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 64, in <lambda> fn=lambda image, prompt: run_lang_sam( File "/home/user/app/app.py", line 14, in run_lang_sam masks, _, _, _ = model.predict(image, text_prompt) File "/usr/local/lib/python3.10/site-packages/lang_sam/lang_sam.py", line 116, in predict boxes, logits, phrases = self.predict_dino(image_pil, text_prompt, box_threshold, text_threshold) File "/usr/local/lib/python3.10/site-packages/lang_sam/lang_sam.py", line 92, in predict_dino boxes, logits, phrases = predict(model=self.groundingdino, File "/usr/local/lib/python3.10/site-packages/groundingdino/util/inference.py", line 91, in predict phrases = [ File "/usr/local/lib/python3.10/site-packages/groundingdino/util/inference.py", line 92, in <listcomp> get_phrases_from_posmap(logit > text_threshold, tokenized, tokenizer).replace('.', '') File "/usr/local/lib/python3.10/site-packages/groundingdino/util/utils.py", line 607, in get_phrases_from_posmap token_ids = [tokenized["input_ids"][i] for i in non_zero_idx] File "/usr/local/lib/python3.10/site-packages/groundingdino/util/utils.py", line 607, in <listcomp> token_ids = [tokenized["input_ids"][i] for i in non_zero_idx] IndexError: list index out of range

Container logs:

Fetching error logs...