Closed patrikwm closed 1 year ago
I change the repo in helper/utils.py and now it starts.
Glad it was solved! Actually, you could also just remove these lines:
https://github.com/Riksarkivet/HTRFLOW/blob/7bad9994bfc9520d0ecb3b2d0663539b69d5c957/app.py#L36 https://github.com/Riksarkivet/HTRFLOW/blob/7bad9994bfc9520d0ecb3b2d0663539b69d5c957/tabs/htr_tool.py#L280 https://github.com/Riksarkivet/HTRFLOW/blob/7bad9994bfc9520d0ecb3b2d0663539b69d5c957/tabs/stepwise_htr_tool.py#L384
TrafficDataHandler is just a temporary solution for demo release to get some metrics.. i.e that part will be removed soon!
I didn't know what it was first so I change the _repo in utils.py and sent In my own repo in HF_DATA_REPO variable
_repo = huggingface_hub.Repository(
local_dir="data",
repo_type="dataset",
clone_from=os.environ.get("HF_DATA_REPO", "Riksarkivet/traffic_demo_data"),
use_auth_token=_TOKEN
)
Hi!
Trying to start the app.py but I get an error with
seems to be the helper/utils.py that tries to clone it.
Im no expert in AI or huggingface so I dont kno'w if its a real 404 or if privileges are just missing.
/Patrik