Hemasagar commited on
Commit
1db2f5d
·
verified ·
1 Parent(s): 07c30ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -48,8 +48,7 @@ def getLLMResponse(form_input,email_sender,email_recipient,email_style):
48
 
49
  #Generating the response using LLM
50
  #Last week langchain has recommended to use 'invoke' function for the below please :)
51
- response=llm.invoke(prompt.format(email_topic=form_input,sender=email_sender,recipient=email_recipient,style=email_style))
52
- print(response)
53
 
54
  return response
55
 
 
48
 
49
  #Generating the response using LLM
50
  #Last week langchain has recommended to use 'invoke' function for the below please :)
51
+ response=llm(prompt.format(email_topic=form_input,sender=email_sender,recipient=email_recipient,style=email_style))
 
52
 
53
  return response
54