Spaces:
Sleeping
Sleeping
File size: 1,219 Bytes
1835c79 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# .replit
# Specifies the command to run the app
run = "streamlit run app.py"
# The main entry point file
entrypoint = "app.py"
modules = ["python-3.11"]
# Tells Replit's package manager about dependencies
[packager]
language = "python3"
# Optional: Ignore specific packages if needed, though usually handled by requirements.txt
# ignoredPackages = []
# Optional: Improves Python development experience in Replit
[languages.python]
pattern = "**/*.py"
[languages.python.languageServer]
name = "pyright"
[deployment]
deploymentTarget = "cloudrun"
run = ["sh", "-c", "streamlit run --server.address 0.0.0.0 --server.headless true --server.enableCORS=false --server.enableWebsocketCompression=false app.py"]
build = ["sh", "-c", "pip install --upgrade pip"]
[nix]
[[ports]]
localPort = 8501
externalPort = 80
[[ports]]
localPort = 8502
externalPort = 3000
[[ports]]
localPort = 8503
externalPort = 3001
[workflows]
runButton = "Run"
[[workflows.workflow]]
name = "Run"
author = 22737092
mode = "sequential"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "streamlit run app.py"
# Environment variables can also be set here, but Secrets are recommended for API keys
# [env]
# LANGSMITH_TRACING = "true" |