feat: implement gateway service and add font extraction validation tests
This commit is contained in:
@@ -8,7 +8,7 @@ import urllib.request
|
||||
|
||||
sys.path.insert(0, "gateway")
|
||||
|
||||
BASE = os.environ.get("GATEWAY_URL", "http://localhost:8000")
|
||||
BASE = os.environ.get("GATEWAY_URL", "http://localhost:8765")
|
||||
|
||||
|
||||
def http_get(url):
|
||||
|
||||
@@ -12,7 +12,7 @@ import time
|
||||
|
||||
import httpx
|
||||
|
||||
BASE_URL = os.environ.get("GATEWAY_URL", "http://localhost:8000")
|
||||
BASE_URL = os.environ.get("GATEWAY_URL", "http://localhost:8765")
|
||||
CORPUS_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "corpus", "fonts"))
|
||||
|
||||
TARGET_PDFS = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
================================================================================
|
||||
FONT EXTRACTION API VALIDATION
|
||||
Server: http://localhost:8000
|
||||
Server: http://localhost:8765
|
||||
Corpus: C:\Users\Maskan\Desktop\pdf_editor\pdf\corpus\fonts
|
||||
Timestamp: 2026-06-02 12:36:47
|
||||
================================================================================
|
||||
|
||||
Reference in New Issue
Block a user