Spaces:
Sleeping
Sleeping
fixed path
Browse files- app.py +1 -1
- src/htr_pipeline/pipeline.py +1 -1
app.py
CHANGED
@@ -7,7 +7,7 @@ from helper.text.text_app import TextApp
|
|
7 |
from helper.text.text_howto import TextHowTo
|
8 |
from helper.text.text_riksarkivet import TextRiksarkivet
|
9 |
from helper.text.text_roadmap import TextRoadmap
|
10 |
-
from htr_pipeline.gradio_backend import CustomTrack, FastTrack, SingletonModelLoader
|
11 |
|
12 |
model_loader = SingletonModelLoader()
|
13 |
fast_track = FastTrack(model_loader)
|
|
|
7 |
from helper.text.text_howto import TextHowTo
|
8 |
from helper.text.text_riksarkivet import TextRiksarkivet
|
9 |
from helper.text.text_roadmap import TextRoadmap
|
10 |
+
from src.htr_pipeline.gradio_backend import CustomTrack, FastTrack, SingletonModelLoader
|
11 |
|
12 |
model_loader = SingletonModelLoader()
|
13 |
fast_track = FastTrack(model_loader)
|
src/htr_pipeline/pipeline.py
CHANGED
@@ -3,9 +3,9 @@ from typing import Protocol
|
|
3 |
import mmcv
|
4 |
import numpy as np
|
5 |
|
6 |
-
from htr_pipeline.utils.parser_xml import XmlParser
|
7 |
from src.htr_pipeline.inferencer import Inferencer
|
8 |
from src.htr_pipeline.utils.helper import timer_func
|
|
|
9 |
from src.htr_pipeline.utils.preprocess_img import Preprocess
|
10 |
from src.htr_pipeline.utils.process_xml import XMLHelper
|
11 |
|
|
|
3 |
import mmcv
|
4 |
import numpy as np
|
5 |
|
|
|
6 |
from src.htr_pipeline.inferencer import Inferencer
|
7 |
from src.htr_pipeline.utils.helper import timer_func
|
8 |
+
from src.htr_pipeline.utils.parser_xml import XmlParser
|
9 |
from src.htr_pipeline.utils.preprocess_img import Preprocess
|
10 |
from src.htr_pipeline.utils.process_xml import XMLHelper
|
11 |
|