Spaces:
Running
Error when creating competition
please click on the logs button and it will give more information.
I don't see a log button but anyways, I found out what the problem was: you can only register if you also have made a payment option into your organization. Imho an annoying requirement and a respective error message would have saved quite some time here.
its written in the docs. please follow the docs.
well yes, but I thought you can do this at a later stage. Anyways, now the space doesn't start:
first
ModuleNotFoundError: No module named 'itsdangerous'
ERROR conda.cli.main_run:execute(124): conda run /bin/bash -c uvicorn competitions.app:app --host 0.0.0.0 --port 7860 --workers 1 failed. (See above for error)
now:
File "/app/env/lib/python3.10/site-packages/uvicorn/config.py", line 473, in load
self.loaded_app = import_from_string(self.app)
File "/app/env/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/app/env/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 879, in exec_module
File "<frozen importlib._bootstrap_external>", line 1017, in get_code
File "<frozen importlib._bootstrap_external>", line 947, in source_to_code
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/app/competitions/app.py", line 100
return RedirectResponse("/login/huggingface")
IndentationError: unexpected indent
ERROR conda.cli.main_run:execute(124): `conda run /bin/bash -c uvicorn competitions.app:app --host 0.0.0.0 --port 7860 --workers 1` failed. (See above for error)
I get more and more frustrated. Seems this competition feature of huggingface is quite beta.
module was added an hour ago. you need to go to settings and click on factory rebuild for the competiton space. for further help please use github issues: https://github.com/huggingface/competitions as this is not the right channel. yes its beta and there are many competitions coming soon. so, its a beta that works.