Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -755,7 +755,7 @@ if prompt :
|
|
| 755 |
try:
|
| 756 |
# Generate response using the agent executor
|
| 757 |
output = agent_executor.invoke({
|
| 758 |
-
"input": f"{prompt}.
|
| 759 |
|
| 760 |
"chat_history": st.session_state.chat_history
|
| 761 |
})
|
|
|
|
| 755 |
try:
|
| 756 |
# Generate response using the agent executor
|
| 757 |
output = agent_executor.invoke({
|
| 758 |
+
"input": f"{prompt}.Strictly follow words (write more than the mentioned words in case of article or news letter) and already mention instructions.Handle problematic text (Usually it is related to numbers, figures and text nearby )clean it up make spaced so that it is readable and properly formatted for display in a web application. Avoid any unusual line breaks or formatting issues. Always provide sources links with trust builders. ",
|
| 759 |
|
| 760 |
"chat_history": st.session_state.chat_history
|
| 761 |
})
|