Spaces:
Runtime error
Runtime error
Download app.py from Scherzando/User_Study: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/Scherzando/User_Study/resolve/main/app.py
- Command line
-
hf download hf://spaces/Scherzando/User_Study/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Scherzando/User_Study/resolve/main/app.py
338 Bytes
| """Launch the HTML study using the existing Space's Python entry point.""" | |
| import os | |
| from pathlib import Path | |
| import sys | |
| os.environ['STUDY_DATA'] = str(Path(__file__).resolve().parent) | |
| sys.argv = ['server.py', '--host', '0.0.0.0', '--port', '7860', '--no-open', '--results', '/tmp/study-responses.sqlite3'] | |
| from server import main | |
| main() | |