Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,8 +90,7 @@ api_response_prompt = PromptTemplate(
|
|
90 |
|
91 |
@cl.on_chat_start
|
92 |
def setup_multiple_chains():
|
93 |
-
|
94 |
-
try:
|
95 |
llm_chain = LLMChain(
|
96 |
llm=llm,
|
97 |
prompt=daysoff_assistant_prompt,
|
@@ -106,7 +105,7 @@ def setup_multiple_chains():
|
|
106 |
cl.user_session.set("llm_chain", llm_chain)
|
107 |
except Exception as e:
|
108 |
print(f"Error setting LLMChain: {e}")
|
109 |
-
|
110 |
try:
|
111 |
api_chain = APIChain.from_llm_and_api_docs(
|
112 |
llm=llm,
|
|
|
90 |
|
91 |
@cl.on_chat_start
|
92 |
def setup_multiple_chains():
|
93 |
+
try:
|
|
|
94 |
llm_chain = LLMChain(
|
95 |
llm=llm,
|
96 |
prompt=daysoff_assistant_prompt,
|
|
|
105 |
cl.user_session.set("llm_chain", llm_chain)
|
106 |
except Exception as e:
|
107 |
print(f"Error setting LLMChain: {e}")
|
108 |
+
|
109 |
try:
|
110 |
api_chain = APIChain.from_llm_and_api_docs(
|
111 |
llm=llm,
|