Spaces:
Runtime error
Not working
Form still not working:
KeyError: 'License identifier (to use in model card)'
Traceback:
File "/home/user/.local/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "/home/user/app/1_๐_form.py", line 302, in
st.session_state.runpage()
File "/home/user/app/1_๐_form.py", line 175, in main_page
languages_map, license_map, available_metrics, libraries, tasks = get_cached_data()
File "/home/user/.local/lib/python3.10/site-packages/streamlit/legacy_caching/caching.py", line 573, in wrapped_func
return get_or_create_cached_value()
File "/home/user/.local/lib/python3.10/site-packages/streamlit/legacy_caching/caching.py", line 557, in get_or_create_cached_value
return_value = func(*args, **kwargs)
File "/home/user/app/1_๐_form.py", line 23, in get_cached_data
license_df["License identifier (to use in model card)"].values, index=license_df.Fullname
File "/home/user/.local/lib/python3.10/site-packages/pandas/core/frame.py", line 3893, in getitem
indexer = self.columns.get_loc(key)
File "/home/user/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc
raise KeyError(key) from err
try it now