miwojc commited on
Commit
9caecac
1 Parent(s): 0d3459b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def query(payload, model_url):
21
  "POST", model_url, headers=headers, data=data
22
  )
23
  return json.loads(response.content.decode("utf-8"))
 
24
  def process(
25
  text: str, model_name: str, max_len: int, temp: float, top_k: int, top_p: float
26
  ):
 
21
  "POST", model_url, headers=headers, data=data
22
  )
23
  return json.loads(response.content.decode("utf-8"))
24
+
25
  def process(
26
  text: str, model_name: str, max_len: int, temp: float, top_k: int, top_p: float
27
  ):