Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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 |
|