Doesnt work

#2
by XtewaldX - opened

===== Application Startup at 2024-05-06 07:50:50 =====

/usr/local/lib/python3.10/site-packages/gradio/interface.py:361: UserWarning: The allow_flagging parameter in Interface nowtakes a string value ('auto', 'manual', or 'never'), not a boolean. Setting parameter to: 'never'.
warnings.warn(
Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1443, in postprocess_data
state[output_id] = self.blocks[output_id].class(**kwargs)
File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: Video.init() got an unexpected keyword argument 'source'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1443, in postprocess_data
state[output_id] = self.blocks[output_id].class(**kwargs)
File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: Video.init() got an unexpected keyword argument 'source'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1443, in postprocess_data
state[output_id] = self.blocks[output_id].class(**kwargs)
File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: Video.init() got an unexpected keyword argument 'source'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1443, in postprocess_data
state[output_id] = self.blocks[output_id].class(**kwargs)
File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper
return fn(self, **kwargs)
TypeError: Video.init() got an unexpected keyword argument 'source'
Loaded as API: https://artificialguybr-video-dubbing.hf.space/ โœ”
Error while calling API: Could not fetch config for https://artificialguybr-video-dubbing.hf.space/
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1456, in postprocess_data
outputs_cached = processing_utils.move_files_to_cache(
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 265, 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 923, in traverse
new_obj[key] = traverse(value, func, is_root)
File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 919, in traverse
return func(json_obj)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 257, in _move_to_cache
temp_file_path = move_resource_to_block_cache(payload.path, block)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 234, in move_resource_to_block_cache
return block.move_resource_to_block_cache(url_or_file_path)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 258, 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 170, in save_file_to_cache
temp_dir = hash_file(file_path)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 102, in hash_file
with open(file_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/An error occurred while processing the video.'
Loaded as API: https://artificialguybr-video-dubbing.hf.space/ โœ”
Error while calling API: Could not fetch config for https://artificialguybr-video-dubbing.hf.space/
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1456, in postprocess_data
outputs_cached = processing_utils.move_files_to_cache(
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 265, 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 923, in traverse
new_obj[key] = traverse(value, func, is_root)
File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 919, in traverse
return func(json_obj)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 257, in _move_to_cache
temp_file_path = move_resource_to_block_cache(payload.path, block)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 234, in move_resource_to_block_cache
return block.move_resource_to_block_cache(url_or_file_path)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 258, 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 170, in save_file_to_cache
temp_dir = hash_file(file_path)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 102, in hash_file
with open(file_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/An error occurred while processing the video.'

Sign up or log in to comment