Spaces:
Sleeping
Sleeping
entrypoint = "main.py" | |
modules = ["nodejs-20", "python-3.11"] | |
[nix] | |
channel = "stable-24_05" | |
[unitTest] | |
language = "python3" | |
[gitHubImport] | |
requiredFiles = [".replit", "replit.nix"] | |
[deployment] | |
run = ["sh", "-c", "python -m streamlit run --server.address 0.0.0.0 --server.headless true --server.enableCORS=false --server.enableXsrfProtection=false --server.enableWebsocketCompression=false app.py"] | |
deploymentTarget = "cloudrun" | |
[workflows] | |
runButton = "Run" | |
[[workflows.workflow]] | |
name = "Run" | |
author = 22737092 | |
mode = "sequential" | |
[[workflows.workflow.tasks]] | |
task = "shell.exec" | |
args = "python main.py" | |
[[ports]] | |
localPort = 8501 | |
externalPort = 80 | |