Dalageo commited on
Commit
b1d99f4
·
verified ·
1 Parent(s): 02afdea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def calculator_tool(expression: str)-> str: # Returns a string result
25
  if response.status_code == 200:
26
  return f"Result: {response.json()}"
27
  else:
28
- retunr f"Error: {response.text}"
29
  except Exception as e:
30
  return f"Error: {str(e)}"
31
 
 
25
  if response.status_code == 200:
26
  return f"Result: {response.json()}"
27
  else:
28
+ return f"Error: {response.text}"
29
  except Exception as e:
30
  return f"Error: {str(e)}"
31