Spaces:
Runtime error
Runtime error
runtime error
Space failed to start. Exit code: 1
Container logs:
jnxsw 2023-03-23T14:52:42.249Z Fetching model from: https://huggingface.co/sail/poolformer_m48
jnxsw 2023-03-23T14:52:45.356Z Fetching model from: https://huggingface.co/sail/poolformer_m48
jnxsw 2023-03-23T14:52:45.690Z Caching examples at: '/home/user/app/gradio_cached_examples/56'
jnxsw 2023-03-23T14:52:45.838Z Traceback (most recent call last):
jnxsw 2023-03-23T14:52:45.838Z File "app.py", line 7, in <module>
jnxsw 2023-03-23T14:52:45.838Z gr.Interface.load("huggingface/sail/poolformer_m48",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 99, in load
jnxsw 2023-03-23T14:52:45.838Z return super().load(name=name, src=src, api_key=api_key, alias=alias, **kwargs)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1228, in load
jnxsw 2023-03-23T14:52:45.838Z return external.load_blocks_from_repo(name, src, api_key, alias, **kwargs)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 70, in load_blocks_from_repo
jnxsw 2023-03-23T14:52:45.838Z blocks: gradio.Blocks = factory_methods[src](name, api_key, alias, **kwargs)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 365, in from_model
jnxsw 2023-03-23T14:52:45.838Z interface = gradio.Interface(**kwargs)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 475, in __init__
jnxsw 2023-03-23T14:52:45.838Z self.render_examples()
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 791, in render_examples
jnxsw 2023-03-23T14:52:45.838Z self.examples_handler = Examples(
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 70, in create_examples
jnxsw 2023-03-23T14:52:45.838Z utils.synchronize_async(examples_obj.create)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 516, in synchronize_async
jnxsw 2023-03-23T14:52:45.838Z return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs)
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 100, in sync
jnxsw 2023-03-23T14:52:45.838Z raise return_result
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 55, in _runner
jnxsw 2023-03-23T14:52:45.838Z result[0] = await coro
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 277, in create
jnxsw 2023-03-23T14:52:45.838Z await self.cache()
jnxsw 2023-03-23T14:52:45.838Z File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 311, in cache
jnxsw 2023-03-23T14:52:45.839Z prediction = await Context.root_block.process_api(
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1075, in process_api
jnxsw 2023-03-23T14:52:45.839Z result = await self.call_function(
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 884, in call_function
jnxsw 2023-03-23T14:52:45.839Z prediction = await anyio.to_thread.run_sync(
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
jnxsw 2023-03-23T14:52:45.839Z return await get_asynclib().run_sync_in_worker_thread(
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
jnxsw 2023-03-23T14:52:45.839Z return await future
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
jnxsw 2023-03-23T14:52:45.839Z result = context.run(func, *args)
jnxsw 2023-03-23T14:52:45.839Z File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 331, in query_huggingface_api
jnxsw 2023-03-23T14:52:45.839Z raise Error(
jnxsw 2023-03-23T14:52:45.839Z gradio.exceptions.Error: 'Could not complete request to HuggingFace API, Status Code: 503, Error: Model sail/poolformer_m48 is currently loading'