Spaces:
Paused
Paused
Commit ·
b77fd51
1
Parent(s): fe9a7ad
overshadowing ai medextract shim removed
Browse files- .dockerignore +0 -1
- ai_med_extract.py +0 -15
- requirements.txt +1 -0
.dockerignore
CHANGED
|
@@ -7,7 +7,6 @@
|
|
| 7 |
# Include only essential files for the application
|
| 8 |
!requirements.txt
|
| 9 |
!README.md
|
| 10 |
-
!ai_med_extract.py
|
| 11 |
!app.py
|
| 12 |
!__init__.py
|
| 13 |
|
|
|
|
| 7 |
# Include only essential files for the application
|
| 8 |
!requirements.txt
|
| 9 |
!README.md
|
|
|
|
| 10 |
!app.py
|
| 11 |
!__init__.py
|
| 12 |
|
ai_med_extract.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
"""Compatibility shim for older imports that expect a top-level `ai_med_extract`.
|
| 2 |
-
|
| 3 |
-
This module re-exports the package located at `services/ai-service/src/ai_med_extract`.
|
| 4 |
-
It keeps older tests and imports working while the canonical package lives under services/ai-service/src.
|
| 5 |
-
"""
|
| 6 |
-
import sys
|
| 7 |
-
import os
|
| 8 |
-
|
| 9 |
-
# Compute path to the migrated package
|
| 10 |
-
ROOT = os.path.dirname(__file__)
|
| 11 |
-
SERVICE_SRC = os.path.join(ROOT, 'services', 'ai-service', 'src')
|
| 12 |
-
if SERVICE_SRC not in sys.path:
|
| 13 |
-
sys.path.insert(0, SERVICE_SRC)
|
| 14 |
-
|
| 15 |
-
from ai_med_extract import * # re-export everything
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -38,6 +38,7 @@ python-multipart==0.0.20
|
|
| 38 |
fastapi==0.116.1
|
| 39 |
uvicorn==0.35.0
|
| 40 |
gunicorn==21.2.0
|
|
|
|
| 41 |
python-dotenv==1.0.1
|
| 42 |
|
| 43 |
# Data Processing & Scientific Computing
|
|
|
|
| 38 |
fastapi==0.116.1
|
| 39 |
uvicorn==0.35.0
|
| 40 |
gunicorn==21.2.0
|
| 41 |
+
Werkzeug==3.0.4
|
| 42 |
python-dotenv==1.0.1
|
| 43 |
|
| 44 |
# Data Processing & Scientific Computing
|