Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ async def index():
|
|
18 |
async def completion(request: Request):
|
19 |
data = await request.json()
|
20 |
prompt = data["prompt"]
|
21 |
-
prompt = f"Complete the following code, do not
|
22 |
res = model_l(
|
23 |
prompt,
|
24 |
temperature=0.7,
|
|
|
18 |
async def completion(request: Request):
|
19 |
data = await request.json()
|
20 |
prompt = data["prompt"]
|
21 |
+
prompt = f"Complete the following code, do not comment(return only the completed code!):\n\n{prompt}"
|
22 |
res = model_l(
|
23 |
prompt,
|
24 |
temperature=0.7,
|