File size: 469 Bytes
cf7ff5e
a5bf7c0
 
 
 
 
 
 
 
 
 
 
 
 
 
70f9601
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Run20Application.py
import subprocess
import sys

def run_streamlit():
    print("๐Ÿš€ Starting Medical AI Librarian...")
    print("๐Ÿ“š Opening browser at http://localhost:8501")
    try:
        subprocess.run([sys.executable, "-m", "streamlit", "run", "app.py"])
    except KeyboardInterrupt:
        print("\n๐Ÿ‘‹ Shutting down Medical AI Librarian...")
    except Exception as e:
        print(f"โŒ Error: {e}")

if __name__ == "__main__":
    run_streamlit()