Spaces:
Sleeping
Sleeping
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() |