ABE101's picture
Upload 11 files
1835c79 verified
# .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"