runtime error

Space not ready. Reason: Error, exitCode: 1, message: None

Container logs:

/home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:256: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  warnings.warn(
/home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect
  warnings.warn(value)
/home/user/.local/lib/python3.8/site-packages/gradio/outputs.py:196: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components
  warnings.warn(
/home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: The 'type' parameter has been deprecated. Use the Number component instead.
  warnings.warn(value)
/home/user/.local/lib/python3.8/site-packages/gradio/interface.py:328: UserWarning: Currently, only the 'default' theme is supported.
  warnings.warn("Currently, only the 'default' theme is supported.")
Caching examples at: '/home/user/app/gradio_cached_examples/11/log.csv'
Traceback (most recent call last):
  File "app.py", line 33, in <module>
    intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
  File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 618, in __init__
    self.examples_handler = Examples(
  File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 58, in create_examples
    utils.synchronize_async(examples_obj.create)
  File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 356, in synchronize_async
    return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 96, in sync
    raise return_result
  File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 53, in _runner
    result[0] = await coro
  File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 221, in create
    await self.cache_interface_examples()
  File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 259, in cache_interface_examples
    prediction = await self.predict_example(example_id)
  File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 276, in predict_example
    predictions = await anyio.to_thread.run_sync(self.fn, *processed_input)
  File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "app.py", line 25, in classify_image
    pred,idx,probs = learn.predict(img)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 303, in predict
    inp,preds,_,dec_preds = self.get_preds(dl=dl, with_input=True, with_decoded=True)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 290, in get_preds
    self._do_epoch_validate(dl=dl)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 236, in _do_epoch_validate
    with torch.no_grad(): self._with_events(self.all_batches, 'validate', CancelValidException)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 193, in _with_events
    try: self(f'before_{event_type}');  f()
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 199, in all_batches
    for o in enumerate(self.dl): self.one_batch(*o)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 227, in one_batch
    self._with_events(self._do_one_batch, 'batch', CancelBatchException)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 195, in _with_events
    self(f'after_{event_type}');  final()
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 171, in __call__
    def __call__(self, event_name): L(event_name).map(self._call_one)
  File "/home/user/.local/lib/python3.8/site-packages/fastcore/foundation.py", line 156, in map
    def map(self, f, *args, gen=False, **kwargs): return self._new(map_ex(self, f, *args, gen=gen, **kwargs))
  File "/home/user/.local/lib/python3.8/site-packages/fastcore/basics.py", line 840, in map_ex
    return list(res)
  File "/home/user/.local/lib/python3.8/site-packages/fastcore/basics.py", line 825, in __call__
    return self.func(*fargs, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 175, in _call_one
    for cb in self.cbs.sorted('order'): cb(event_name)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/callback/core.py", line 62, in __call__
    except Exception as e: raise modify_exception(e, f'Exception occured in `{self.__class__.__name__}` when calling event `{event_name}`:\n\t{e.args[0]}', replace=True)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/callback/core.py", line 60, in __call__
    try: res = getcallable(self, event_name)()
  File "/home/user/.local/lib/python3.8/site-packages/fastai/callback/progress.py", line 33, in after_batch
    if hasattr(self, 'smooth_loss'): self.pbar.comment = f'{self.smooth_loss:.4f}'
  File "/home/user/.local/lib/python3.8/site-packages/torch/_tensor.py", line 855, in __format__
    return handle_torch_function(Tensor.__format__, (self,), self, format_spec)
  File "/home/user/.local/lib/python3.8/site-packages/torch/overrides.py", line 1534, in handle_torch_function
    result = torch_func_method(public_api, types, args, kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/fastai/torch_core.py", line 376, in __torch_function__
    res = super().__torch_function__(func, types, args, ifnone(kwargs, {}))
  File "/home/user/.local/lib/python3.8/site-packages/torch/_tensor.py", line 1278, in __torch_function__
    ret = func(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/torch/_tensor.py", line 858, in __format__
    return object.__format__(self, format_spec)
TypeError: Exception occured in `ProgressCallback` when calling event `after_batch`:
	unsupported format string passed to TensorBase.__format__
█

 |----------------------------------------| 0.00% [0/1 00:00<?]

 |████████████████████████████████████████| 100.00% [1/1 00:00<00:00]