ankush13r commited on
Commit
13b7887
·
verified ·
1 Parent(s): f97cff2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def respond(
108
 
109
  if not arguments:
110
  arguments = "{}"
111
- elif arguments.strip()[:-1].strip() == "}":
112
  arguments = arguments.strip()[:-1]
113
  if name:
114
  result = f"💥 Error using tool {name}, tools doesn't exists"
 
108
 
109
  if not arguments:
110
  arguments = "{}"
111
+ elif arguments.strip() == "} }" or arguments.strip() == "}}":
112
  arguments = arguments.strip()[:-1]
113
  if name:
114
  result = f"💥 Error using tool {name}, tools doesn't exists"