Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from adikal25/main
Browse files Browse the repository at this point in the history
"resolved mac-os(arm), linux os local host problem"
  • Loading branch information
jaydenstokes authored Jun 11, 2024
2 parents 3bfb474 + 6f6f5d7 commit 5bf24e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ def update_tesseract_path():
if __name__ == "__main__":
host = "localhost"
port = 5000
if os.name == 'posix':
port = 5001
logging.basicConfig(filename="app.log", filemode="w", level=logging.DEBUG, format="%(levelname)s - %(message)s")
print("[*] Starting OcrRoo Server")
print(f"[*] OcrRoo Server running on http://{host}:{port}/")
Expand Down

0 comments on commit 5bf24e1

Please sign in to comment.