SamadhiDBS commited on
Commit
80d4fc5
Β·
verified Β·
1 Parent(s): 7c28894

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +19 -21
run.py CHANGED
@@ -1,22 +1,20 @@
1
- """
2
- Run the Smart Analytics Copilot
3
- """
4
-
5
- import subprocess
6
- import sys
7
-
8
- def main():
9
- print("πŸš€ Starting Smart Analytics Copilot...")
10
- print("πŸ“Š Your dashboard will open in your browser")
11
- print("")
12
-
13
- # Run streamlit
14
- subprocess.run([
15
- sys.executable, "-m", "streamlit", "run",
16
- "app/main.py",
17
- "--server.port", "8501",
18
- "--server.address", "localhost"
19
- ])
20
-
21
- if __name__ == "__main__":
22
  main()
 
1
+ """Run the Smart Analytics Copilot"""
2
+
3
+ import subprocess
4
+ import sys
5
+
6
+ def main():
7
+ print("πŸš€ Starting Smart Analytics Copilot...")
8
+ print("πŸ“Š Your dashboard will open in your browser")
9
+ print("")
10
+
11
+ #run streamlit
12
+ subprocess.run([
13
+ sys.executable, "-m", "streamlit", "run",
14
+ "app/main.py",
15
+ "--server.port", "8501",
16
+ "--server.address", "localhost"
17
+ ])
18
+
19
+ if __name__ == "__main__":
 
 
20
  main()