test.py
Browse files- __pycache__/pipeline.cpython-38.pyc +0 -0
- test.py +2 -2
__pycache__/pipeline.cpython-38.pyc
ADDED
Binary file (1.48 kB). View file
|
|
test.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
from
|
2 |
|
3 |
# init handler
|
4 |
-
my_handler =
|
5 |
|
6 |
doc = [
|
7 |
"The Half Moon is a public house and music venue in Putney, London. It is one of the city's longest running live music venues, and has hosted live music every night since 1963.",
|
|
|
1 |
+
from pipeline import PreTrainedPipeline
|
2 |
|
3 |
# init handler
|
4 |
+
my_handler = PreTrainedPipeline(path=".")
|
5 |
|
6 |
doc = [
|
7 |
"The Half Moon is a public house and music venue in Putney, London. It is one of the city's longest running live music venues, and has hosted live music every night since 1963.",
|