hrguarinv commited on
Commit
9879f8c
1 Parent(s): 128deab

Update routes/customer_support.py

Browse files
Files changed (1) hide show
  1. routes/customer_support.py +2 -2
routes/customer_support.py CHANGED
@@ -6,9 +6,9 @@ router = APIRouter()
6
 
7
 
8
  @router.post("/get-help")
9
- def handle_get_help(query: Query):
10
  response_text = generate_response(
11
- {"query": query.text, "intent": "Get help"})
12
  return {"response": response_text[0]['generated_text']}
13
 
14
 
 
6
 
7
 
8
  @router.post("/get-help")
9
+ def handle_get_help(input: Input):
10
  response_text = generate_response(
11
+ {"query": input.text, "intent": "Get help"})
12
  return {"response": response_text[0]['generated_text']}
13
 
14