Spaces:
Paused
Paused
netman19731
commited on
Commit
•
f85479f
1
Parent(s):
18d434d
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,7 @@ agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
|
49 |
async def predict(question):
|
50 |
que={"input":question}
|
51 |
res=agent_executor.invoke(que)
|
|
|
52 |
if res:
|
53 |
return(res)
|
54 |
else:print("不好意思,出了一个小问题,请联系我的微信:13603634456")
|
|
|
49 |
async def predict(question):
|
50 |
que={"input":question}
|
51 |
res=agent_executor.invoke(que)
|
52 |
+
print(res)
|
53 |
if res:
|
54 |
return(res)
|
55 |
else:print("不好意思,出了一个小问题,请联系我的微信:13603634456")
|