Skip to content

Commit

Permalink
Change KERAS_OCR_CACHE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
uw0s committed Apr 16, 2024
1 parent b391470 commit 32b475d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,7 @@ def meddisc() -> None:
with vit_path.open("w") as f:
f.write(file_content)
sys.path.append(str(Path.cwd()))
os.environ["KERAS_OCR_CACHE_DIR"] = "tmp"
if os.getenv("STAGING"):
if not Path("tmp/fullchain.pem").exists():
subprocess.run(
Expand Down

0 comments on commit 32b475d

Please sign in to comment.