Spaces:
Running
Running
Commit
·
315af15
1
Parent(s):
37db7c5
logging removed
Browse files
app.py
CHANGED
@@ -12,16 +12,6 @@ import yaml
|
|
12 |
import pteredactyl as pt
|
13 |
from pteredactyl.defaults import change_model # Ensure this import is correct
|
14 |
|
15 |
-
# Logging configuration. This is only done at root level
|
16 |
-
logging_config = yaml.safe_load(Path("logging.yaml").read_text())
|
17 |
-
logging.config.dictConfig(logging_config)
|
18 |
-
|
19 |
-
# Get the logger
|
20 |
-
log = logging.getLogger(__name__)
|
21 |
-
|
22 |
-
# Load the model
|
23 |
-
log.info("Starting App")
|
24 |
-
|
25 |
sample_text = """
|
26 |
1. Dr. Huntington (Patient No: 1234567890) diagnosed Ms. Alzheimer with Alzheimer's disease during her last visit to the Huntington Medical Center on 12/12/2023. The prognosis was grim, but Dr. Huntington assured Ms. Alzheimer that the facility was well-equipped to handle her condition despite the lack of a cure for Alzheimer's.
|
27 |
|
|
|
12 |
import pteredactyl as pt
|
13 |
from pteredactyl.defaults import change_model # Ensure this import is correct
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
sample_text = """
|
16 |
1. Dr. Huntington (Patient No: 1234567890) diagnosed Ms. Alzheimer with Alzheimer's disease during her last visit to the Huntington Medical Center on 12/12/2023. The prognosis was grim, but Dr. Huntington assured Ms. Alzheimer that the facility was well-equipped to handle her condition despite the lack of a cure for Alzheimer's.
|
17 |
|