Hugging Face's logo
cw332
/
Runtime error

runtime error

Exit code: 1. Reason: component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "/home/user/app/src/gen.py", line 1265, in main go_gradio(**locals()) File "/home/user/app/src/gradio_runner.py", line 806, in go_gradio attach_button = gr.UploadButton( File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 163, in wrapper return fn(self, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/components/upload_button.py", line 103, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 163, in wrapper return fn(self, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/components/base.py", line 217, in __init__ self.value = move_files_to_cache( File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 416, in move_files_to_cache return client_utils.traverse(data, _move_to_cache, client_utils.is_file_obj) File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 975, in traverse return func(json_obj) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 392, in _move_to_cache temp_file_path = block.move_resource_to_block_cache(payload.path) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 342, in move_resource_to_block_cache temp_file_path = processing_utils.save_file_to_cache( File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 250, in save_file_to_cache temp_dir = hash_file(file_path) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 182, in hash_file with open(file_path, "rb") as f: IsADirectoryError: [Errno 21] Is a directory: '/home/user/app'

Container logs:

Fetching error logs...