tferhan commited on
Commit
a7a3f3d
·
verified ·
1 Parent(s): 8f82ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ qa_faq = StructuredTool.from_function(
40
  )
41
 
42
  def request_data(query: str) -> str:
43
- request = chain.invoke({"input": query})['text']
44
  mot_cle = nettoyer_string(request)
45
  mots = mot_cle.split()
46
  ui = mots[0]
 
40
  )
41
 
42
  def request_data(query: str) -> str:
43
+ request = chain.invoke({"input": query})
44
  mot_cle = nettoyer_string(request)
45
  mots = mot_cle.split()
46
  ui = mots[0]