kwang2049 commited on
Commit
9957835
·
1 Parent(s): b731827
Files changed (2) hide show
  1. __pycache__/pipeline.cpython-38.pyc +0 -0
  2. 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 handler import EndpointHandler
2
 
3
  # init handler
4
- my_handler = EndpointHandler(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.",
 
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.",