Juan Salas commited on
Commit
6d03070
·
1 Parent(s): 3e5d20a

Fix streamlit command in start script

Browse files

Change from 'streamlit run' to 'python -m streamlit run' for proper
execution in uv environments. This resolves the 'Failed to spawn: streamlit'
error and allows 'uv run start' to successfully launch the application.

Files changed (1) hide show
  1. scripts/start.py +1 -1
scripts/start.py CHANGED
@@ -76,7 +76,7 @@ def main():
76
 
77
  # Start the application with proper PYTHONPATH
78
  try:
79
- subprocess.run(['uv', 'run', 'streamlit', 'run', 'app/main.py'],
80
  cwd=project_root,
81
  env=env,
82
  check=True)
 
76
 
77
  # Start the application with proper PYTHONPATH
78
  try:
79
+ subprocess.run(['uv', 'run', 'python', '-m', 'streamlit', 'run', 'app/main.py'],
80
  cwd=project_root,
81
  env=env,
82
  check=True)