Spaces:
Running
on
T4
Running
on
T4
Demo is broken
#5
by
ashwinvis
- opened
Hi! The demo is right now broken. Thought I should let you know. The logs:
cr" is a correct scope, or whether the registry is initialized.
/usr/local/lib/python3.8/dist-packages/mmengine/visualization/visualizer.py:196: UserWarning: Failed to add <class 'mmengine.visualization.vis_backend.TensorboardVisBackend'>, please provide the `save_dir` argument.
warnings.warn(f'Failed to add {vis_backend.__class__}, '
Traceback (most recent call last):
File "app.py", line 9, in <module>
from tabs.htr_tool import htr_tool_tab
File "/home/user/app/tabs/htr_tool.py", line 20, in <module>
images_for_demo = DemoImages()
File "/home/user/app/helper/examples/examples.py", line 17, in __init__
self.images_datasets = datasets.load_dataset(url, cache_dir=cache_dir, split="train")
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 2129, in load_dataset
builder_instance = load_dataset_builder(
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1815, in load_dataset_builder
dataset_module = dataset_module_factory(
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1512, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1481, in dataset_module_factory
return HubDatasetModuleFactoryWithScript(
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1198, in get_module
local_path = self.download_loading_script()
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1166, in download_loading_script
return cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.8/dist-packages/datasets/utils/file_utils.py", line 182, in cached_path
output_path = get_from_cache(
File "/usr/local/lib/python3.8/dist-packages/datasets/utils/file_utils.py", line 601, in get_from_cache
raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")
ConnectionError: Couldn't reach https://huggingface.co/datasets/Riksarkivet/test_images_demo/resolve/main/test_images_demo.py (error 502)
Hi! When we have a 502 error it is actually a communication error between the client and server. It should still be working, probably just some inconvenience on HF side :)
ashwinvis
changed discussion status to
closed