runtime error
Exit code: 1. Reason: fetensors: 100%|█████████▉| 436M/436M [00:01<00:00, 273MB/s] Some weights of the model checkpoint at mrm8488/bert-base-portuguese-cased-finetuned-squad-v1-pt were not used when initializing BertForQuestionAnswering: ['bert.pooler.dense.bias', 'bert.pooler.dense.weight'] - This IS expected if you are initializing BertForQuestionAnswering from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model). - This IS NOT expected if you are initializing BertForQuestionAnswering from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). tokenizer_config.json: 0%| | 0.00/244 [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 244/244 [00:00<00:00, 2.17MB/s] vocab.txt: 0%| | 0.00/210k [00:00<?, ?B/s][A vocab.txt: 100%|██████████| 210k/210k [00:00<00:00, 91.1MB/s] special_tokens_map.json: 0%| | 0.00/112 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 112/112 [00:00<00:00, 759kB/s] Device set to use cpu Traceback (most recent call last): File "/home/user/app/app.py", line 117, in <module> chat = gr.ChatInterface(fn=lambda m, h, st: answer_question(st, m) if st else ("⚠️ Primeiro indexe.", []), File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 180, in __init__ self.chatbot = chatbot.render() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 160, in render raise DuplicateBlockError( gradio.exceptions.DuplicateBlockError: A block with id: 8 has already been rendered in the current Blocks. IMPORTANT: You are using gradio version 4.29.0, however version 4.44.1 is available, please upgrade. -------- IMPORTANT: You are using gradio version 4.29.0, however version 4.44.1 is available, please upgrade. --------
Container logs:
Fetching error logs...