runtime error
Exit code: 1. Reason: w versions of the code file, you can pin a revision. TextToImageTool implements a different description in its configuration and class. Using the tool configuration description. SPACES_ZERO_GPU_DEBUG self.arg_queue._writer.fileno()=6 SPACES_ZERO_GPU_DEBUG self.res_queue._writer.fileno()=8 /usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py:86: UserWarning: Using a ZeroGPU function outside of Gradio caching or request might block the app warnings.warn("Using a ZeroGPU function outside of Gradio caching or request might block the app") Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 259, in run_task res_queue.put(res) File "/usr/local/lib/python3.10/site-packages/spaces/utils.py", line 48, in put super().put(obj) File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 371, in put obj = _ForkingPickler.dumps(obj) File "/usr/local/lib/python3.10/multiprocessing/reduction.py", line 51, in dumps cls(buf, protocol).dump(obj) _pickle.PicklingError: Can't pickle <class 'transformers_modules.huggingface-tools.text-to-image.d8a607f66d2d066de6d613e0e0b202784cdccd93.text_to_image.TextToImageTool'>: it's not the same object as transformers_modules.huggingface-tools.text-to-image.d8a607f66d2d066de6d613e0e0b202784cdccd93.text_to_image.TextToImageTool Traceback (most recent call last): File "/home/user/app/app.py", line 16, in <module> image_gen_tool = load_tool("huggingface-tools/text-to-image") File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 702, in load_tool return Tool.from_hub(task_or_repo_id, model_repo_id=model_repo_id, token=token, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 314, in from_hub return tool_class(**kwargs) File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 214, in gradio_handler raise error("ZeroGPU worker error", res.error_cls) gradio.exceptions.Error: 'PicklingError'
Container logs:
Fetching error logs...