muryshev commited on
Commit
718a63c
·
verified ·
1 Parent(s): e75cab0

validation was updated

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ app = FastAPI(
14
 
15
 
16
  @app.post("/completion/")
17
- def get_answer(question: Prompt.prompt):
18
- answer = get_answer_from_llm(question)
19
  return answer
20
 
21
 
 
14
 
15
 
16
  @app.post("/completion/")
17
+ def get_answer(question: Prompt):
18
+ answer = get_answer_from_llm(question.prompt)
19
  return answer
20
 
21