A subdirectory or file Jobs already exists.
MODEL_OUTPUT_PATH=.\models\hunyuancustom_720P\
D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio_client\documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio_client\documentation.py:106: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
Running on local URL: http://0.0.0.0:80
Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.
Traceback (most recent call last):
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
response = self._make_request(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
conn.request(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connection.py", line 445, in request
self.endheaders()
File "D:\Python\lib\http\client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\Python\lib\http\client.py", line 1038, in _send_output
self.send(msg)
File "D:\Python\lib\http\client.py", line 976, in send
self.connect()
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connection.py", line 276, in connect
self.sock = self._new_conn()
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x00000190582A6260>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen
retries = retries.increment(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /predict2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000190582A6260>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio\routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio\blocks.py", line 1392, in process_api
result = await self.call_function(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio\blocks.py", line 1097, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2470, in run_sync_in_worker_thread
return await future
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run
result = context.run(func, *args)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\gradio\utils.py", line 703, in wrapper
response = f(*args, **kwargs)
File "D:\Tests\HunyuanCustom\HunyuanCustom\hymm_gradio\gradio_ref2v.py", line 66, in post_and_get
r = requests.get(URL, data = json.dumps(files), proxies=proxies)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\Tests\HunyuanCustom\HunyuanCustom\venv\lib\site-packages\requests\adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /predict2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000190582A6260>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Once installed I start
python .\hymm_gradio\gradio_ref2v.pyI click the first example in the UI and then click Generate and get these errors.
Any ideas or fix?