File size: 338 Bytes
804f155
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
"""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()