File size: 511 Bytes
69591a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import subprocess
import os
def main():
# Start the Streamlit application
print("Starting Streamlit application...")
local_dir = os.path.dirname(os.path.abspath(__file__))
subprocess.run(
[
"streamlit",
"run",
os.path.join(local_dir, "ui", "Welcome.py"),
"--server.maxUploadSize",
"1024",
],
)
if __name__ == "__main__":
main()
print("Streamlit application started successfully.")
|