MrAli commited on
Commit
f97aea4
·
verified ·
1 Parent(s): 0ba2f1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,7 +17,8 @@ async def index():
17
  @app.post("/api")
18
  async def completion(request: Request):
19
  data = await request.json()
20
- prompt = f"Complete the following code, do not use comments too much and longer than half-line(return only the completed code!):\n\n{data["prompt"]}"
 
21
  res = model_l(
22
  prompt,
23
  temperature=0.7,
 
17
  @app.post("/api")
18
  async def completion(request: Request):
19
  data = await request.json()
20
+ prompt = data["prompt"]
21
+ prompt = f"Complete the following code, do not use comments too much and longer than half-line(return only the completed code!):\n\n{prompt}"
22
  res = model_l(
23
  prompt,
24
  temperature=0.7,