CoruNethron commited on
Commit
a08a18a
·
verified ·
1 Parent(s): 783cf28

Update olapp.py

Browse files
Files changed (1) hide show
  1. olapp.py +1 -1
olapp.py CHANGED
@@ -19,7 +19,7 @@ class OlHandler(BaseHTTPRequestHandler):
19
  q = urllib.parse.unquote_plus(query_components["q"])
20
 
21
  output = llm.create_completion(
22
- q.encode('utf-8'),
23
  max_tokens=32,
24
  echo=False
25
  )["choices"][0]["text"]
 
19
  q = urllib.parse.unquote_plus(query_components["q"])
20
 
21
  output = llm.create_completion(
22
+ q,
23
  max_tokens=32,
24
  echo=False
25
  )["choices"][0]["text"]