ahmadmac commited on
Commit
da45566
·
verified ·
1 Parent(s): f412aca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ chat_prompt = ChatPromptTemplate.from_messages(messages)
59
  chain = LLMChain(llm=llm, prompt=chat_prompt)
60
 
61
  def extract_entities(text):
62
- result = chain.invoke(text)
63
  return result
64
 
65
 
 
59
  chain = LLMChain(llm=llm, prompt=chat_prompt)
60
 
61
  def extract_entities(text):
62
+ result = chain.run(text)
63
  return result
64
 
65