Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Tonic1/ImageEdit-GOT-OCR
Tonic
/
Nvidia-Embed-V1
like
8
Build error
App
Files
Files
Community
5
ace4204
Nvidia-Embed-V1
/
run_ocr_app.py
Tonic
Initial Commit
2e1d4b5
11 months ago
raw
Copy download link
history
blame
Safe
211 Bytes
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])