Spaces:
Runtime error
'Runtime Error'
I had tried this on a few images earlier today, whereupon it claimed not to be able to obtain GPU & ~ to try later; now I've come back and it is showing 'Runtime error', (though from the ~terminal log it looks like it was working on images of a different dimension than the ones I had provided)!?
Runtime error
Exit code: 1. Reason: /python3.10/site-packages/gradio_client/utils.py", line 873, in synchronize_async
return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore
File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync
raise return_result
File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner
result[0] = await coro
File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 360, in cache
prediction = await Context.root_block.process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1664, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1205, 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 2441, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 943, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 690, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/app.py", line 255, in
fn=lambda x: process(inputfiles=None, input_path=x),
File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 184, in gradio_handler
schedule_response = client.schedule(task_id=task_id, request=request, duration=duration)
File "/usr/local/lib/python3.10/site-packages/spaces/zero/client.py", line 139, in schedule
raise HTMLError(html_string(message_html, message_text))
spaces.zero.gradio.HTMLError: You have exceeded your GPU quota (150s requested vs. 31s left). Try again in 23:05:01
IMPORTANT: You are using gradio version 4.20.1, however version 4.44.1 is available, please upgrade.
...