Seth0330 commited on
Commit
b96da18
·
verified ·
1 Parent(s): b43c5dd

Update backend/app/openrouter_client.py

Browse files
Files changed (1) hide show
  1. backend/app/openrouter_client.py +2 -2
backend/app/openrouter_client.py CHANGED
@@ -16,9 +16,9 @@ except ImportError as e:
16
  print(f"[WARNING] PDF support libraries not available: {e}. PDF conversion will not work.")
17
 
18
  # OCR Model Configuration (from sample code)
19
- OCR_BASE_URL = os.environ.get("OCR_BASE_URL", "https://k8wpp7sgpozv9f-8000.proxy.runpod.net/v1")
20
  OCR_API_KEY = os.environ.get("OCR_API_KEY", "Ezofis@123")
21
- OCR_MODEL_NAME = "tencent/HunyuanOCR"
22
 
23
  # Initialize OpenAI client with OCR endpoint
24
  ocr_client = OpenAI(
 
16
  print(f"[WARNING] PDF support libraries not available: {e}. PDF conversion will not work.")
17
 
18
  # OCR Model Configuration (from sample code)
19
+ OCR_BASE_URL = os.environ.get("OCR_BASE_URL", "https://tt2amdb1z3j4f8-8000.proxy.runpod.net/v1")
20
  OCR_API_KEY = os.environ.get("OCR_API_KEY", "Ezofis@123")
21
+ OCR_MODEL_NAME = os.environ.get("OCR_MODEL_NAME", "tencent/HunyuanOCR")
22
 
23
  # Initialize OpenAI client with OCR endpoint
24
  ocr_client = OpenAI(