Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|