DhaneshV commited on
Commit
51592ee
·
1 Parent(s): bb39afc

Update testing.py

Browse files
Files changed (1) hide show
  1. testing.py +5 -0
testing.py CHANGED
@@ -3,6 +3,11 @@ import torch
3
 
4
  class DeclarativePipeline(Pipeline):
5
 
 
 
 
 
 
6
  def preprocess(self, inputs):
7
  question = inputs.split("#")[0]
8
  answer = inputs.split("#")[1]
 
3
 
4
  class DeclarativePipeline(Pipeline):
5
 
6
+ def _sanitize_parameters(self, **kwargs):
7
+ preprocess_kwargs = {}
8
+ return preprocess_kwargs, {}, {}
9
+
10
+
11
  def preprocess(self, inputs):
12
  question = inputs.split("#")[0]
13
  answer = inputs.split("#")[1]