Spaces:
Paused
Paused
Update olapp.py
Browse files
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
|
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"]
|