MCPcopy Create free account
hub / github.com/google-research/language / initialize

Method initialize

language/orqa/predict/orqa_demo.py:40–42  ·  view source on GitHub ↗
(self, env, predictor)

Source from the content-addressed store, hash-verified

38 _predictor = None
39
40 def initialize(self, env, predictor): # pytype: disable=signature-mismatch # overriding-parameter-count-checks
41 self._tmpl = env.get_template("orqa.html")
42 self._predictor = predictor
43
44 def get(self):
45 question = self.get_argument("question", default="")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected