Junaidb commited on
Commit
cc96934
·
verified ·
1 Parent(s): c164a3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ def load_keypair(agent):
45
 
46
 
47
  @app.post("/init_agent")
48
- def AgentI(request:Agent):
49
 
50
  try:
51
  velocitypayableinstance=VelocityPayableAgent()
@@ -57,7 +57,7 @@ def AgentI(request:Agent):
57
 
58
 
59
  @app.post("/payment")
60
- def PaymentInstruction(request:Payment):
61
  try:
62
  velocitypayableinstance=VelocityPayableAgent()
63
  output=velocitypayableinstance.Agent(request.instruction)
 
45
 
46
 
47
  @app.post("/init_agent")
48
+ async def AgentI(request:Agent):
49
 
50
  try:
51
  velocitypayableinstance=VelocityPayableAgent()
 
57
 
58
 
59
  @app.post("/payment")
60
+ async def PaymentInstruction(request:Payment):
61
  try:
62
  velocitypayableinstance=VelocityPayableAgent()
63
  output=velocitypayableinstance.Agent(request.instruction)