rakib72642 commited on
Commit
5bde31b
·
1 Parent(s): 75d9abf

changed port

Browse files
ArabicOCR.log ADDED
File without changes
OLD/__pycache__/main.cpython-312.pyc ADDED
Binary file (2.06 kB). View file
 
__pycache__/ocr_main.cpython-312.pyc ADDED
Binary file (5.99 kB). View file
 
data/__pycache__/data.cpython-312.pyc ADDED
Binary file (309 Bytes). View file
 
data/__pycache__/model.cpython-312.pyc ADDED
Binary file (384 Bytes). View file
 
ocr_api.py CHANGED
@@ -85,6 +85,6 @@ async def create_items(items: Union[Item, List[Item]]):
85
  if __name__ == "__main__":
86
  try:
87
  del OCR_model
88
- uvicorn.run(app, host="127.0.0.1", port=4444)
89
  finally:
90
  torch.cuda.empty_cache()
 
85
  if __name__ == "__main__":
86
  try:
87
  del OCR_model
88
+ uvicorn.run(app, host="127.0.0.1", port=8000)
89
  finally:
90
  torch.cuda.empty_cache()