runtime error
Exit code: 1. Reason: site-packages/huggingface_hub/constants.py:277: FutureWarning: The `HF_HUB_ENABLE_HF_TRANSFER` environment variable is deprecated as 'hf_transfer' is not used anymore. Please use `HF_XET_HIGH_PERFORMANCE` instead to enable high performance transfer with Xet. Visit https://huggingface.co/docs/huggingface_hub/package_reference/environment_variables#hfxethighperformance for more details. warnings.warn( Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. config.json: 0%| | 0.00/1.42k [00:00<?, ?B/s][A config.json: 100%|██████████| 1.42k/1.42k [00:00<00:00, 4.96MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> opus_translator = pipeline("translation", model=mdl_name) File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 974, in pipeline normalized_task, targeted_task, task_options = check_task(task) File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 359, in check_task return PIPELINE_REGISTRY.check_task(task) File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 1350, in check_task raise KeyError(f"Unknown task {task}, available tasks are {self.get_supported_tasks()}") KeyError: "Unknown task translation, available tasks are ['any-to-any', 'audio-classification', 'automatic-speech-recognition', 'depth-estimation', 'document-question-answering', 'feature-extraction', 'fill-mask', 'image-classification', 'image-feature-extraction', 'image-segmentation', 'image-text-to-text', 'keypoint-matching', 'mask-generation', 'ner', 'object-detection', 'sentiment-analysis', 'table-question-answering', 'text-classification', 'text-generation', 'text-to-audio', 'text-to-speech', 'token-classification', 'video-classification', 'zero-shot-audio-classification', 'zero-shot-classification', 'zero-shot-image-classification', 'zero-shot-object-detection']"
Container logs:
Fetching error logs...