Spaces:
Build error
Build error
File size: 211 Bytes
2e1d4b5 |
1 2 3 4 5 6 7 8 |
import subprocess
import os
def run_app():
cur_dir = os.path.dirname(os.path.abspath(__file__))
ocr_app_path = os.path.join(cur_dir, "ocr_app.py")
subprocess.run(["streamlit", "run", ocr_app_path]) |