runtime error

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

Container logs:

/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.")
IMPORTANT: You are using gradio version 3.4.0, however version 3.14.0 is available, please upgrade.
--------
Caching examples at: '/home/user/app/gradio_cached_examples/15/log.csv'
/home/user/.local/lib/python3.8/site-packages/torchvision/models/_utils.py:252: UserWarning: Accessing the model URLs via the internal dictionary of the module is deprecated since 0.13 and may be removed in the future. Please access them via the appropriate Weights Enum instead.
  warnings.warn(
/home/user/.local/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/home/user/.local/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
  warnings.warn(msg)
Craft text detector weight will be downloaded to /home/user/.craft_text_detector/weights/craft_mlt_25k.pth
Downloading...
From: https://drive.google.com/uc?id=1bupFXqT-VU6Jjeul13XP7yx2Sg5IHr4J
To: /home/user/.craft_text_detector/weights/craft_mlt_25k.pth

  0%|          | 0.00/83.2M [00:00<?, ?B/s]
 18%|█▊        | 14.7M/83.2M [00:00<00:00, 146MB/s]
 35%|███▌      | 29.4M/83.2M [00:00<00:00, 91.1MB/s]
 71%|███████   | 59.2M/83.2M [00:00<00:00, 139MB/s] 
100%|██████████| 83.2M/83.2M [00:00<00:00, 157MB/s]
Craft text refiner weight will be downloaded to /home/user/.craft_text_detector/weights/craft_refiner_CTW1500.pth
Downloading...
From: https://drive.google.com/uc?id=1xcE9qpJXp4ofINwXWVhhQIh9S8Z7cuGj
To: /home/user/.craft_text_detector/weights/craft_refiner_CTW1500.pth

  0%|          | 0.00/1.85M [00:00<?, ?B/s]
100%|██████████| 1.85M/1.85M [00:00<00:00, 33.1MB/s]
Traceback (most recent call last):
  File "app.py", line 71, in <module>
    gr.Interface(
  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 99, in sync
    raise return_result
  File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 54, 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 26, in process
    annotated, boxes, signed = detect_with_craft_text_detector(image) if lib=='craft_text_detector' else detect_with_craft_hw_ocr( image)
  File "app.py", line 9, in detect_with_craft_text_detector
    result = craft.detect_text( image)
  File "/home/user/.local/lib/python3.8/site-packages/craft_text_detector/__init__.py", line 131, in detect_text
    prediction_result = get_prediction(
  File "/home/user/.local/lib/python3.8/site-packages/craft_text_detector/predict.py", line 91, in get_prediction
    polys = craft_utils.adjustResultCoordinates(polys, ratio_w, ratio_h)
  File "/home/user/.local/lib/python3.8/site-packages/craft_text_detector/craft_utils.py", line 415, in adjustResultCoordinates
    polys = np.array(polys)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.