Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
google/sdxl not working
#1977
by
MarkArtist21
- opened
What's up with this? Error below:
Runtime error
s_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1555, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1193, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 654, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/app.py", line 98, in infer
images_request = requests.post(url, json = payload)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='34.16.134.181', port=8080): Max retries exceeded with url: /sdxlapi/v1/predict (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99101b0940>: Failed to establish a new connection: [Errno 111] Connection refused'))
IMPORTANT: You are using gradio version 3.45.1, however version 4.29.0 is available, please upgrade.
Already reported in a few recent discussions. The team is looking into it.
Service has been restored! Thanks for the patience!
pcuenq
changed discussion status to
closed