Junaidb commited on
Commit
e7a6ce3
·
verified ·
1 Parent(s): da69502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -50,9 +50,9 @@ def AgentI(request:Agent):
50
  try:
51
  velocitypayableinstance=VelocityPayableAgent()
52
  velocitypayableinstance.Agentinit(request.agent_id)
53
- return {"status":True}
54
  except Exception as e:
55
- return {"status":False}
56
 
57
 
58
 
@@ -61,10 +61,10 @@ def PaymentInstruction(request:Payment):
61
  try:
62
  velocitypayableinstance=VelocityPayableAgent()
63
  output=velocitypayableinstance.Agent(request.instruction)
64
- return {"status":output}
65
 
66
  except error:
67
- return {"status":False}
68
 
69
 
70
 
 
50
  try:
51
  velocitypayableinstance=VelocityPayableAgent()
52
  velocitypayableinstance.Agentinit(request.agent_id)
53
+ return {"status_":True}
54
  except Exception as e:
55
+ return {"status_":False}
56
 
57
 
58
 
 
61
  try:
62
  velocitypayableinstance=VelocityPayableAgent()
63
  output=velocitypayableinstance.Agent(request.instruction)
64
+ return {"status_":output}
65
 
66
  except error:
67
+ return {"status_":False}
68
 
69
 
70