tommy24 commited on
Commit
86a07fa
·
1 Parent(s): cb2d6b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1091,8 +1091,8 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
1091
  arguments_dict = json.loads(arguments_str)
1092
 
1093
  function_response = get_current_weather(
1094
- name=arguments_dict["location"],
1095
- number=arguments_dict["unit"]
1096
  )
1097
 
1098
  print("FUNCTION_RESPONSE:", function_response)
 
1091
  arguments_dict = json.loads(arguments_str)
1092
 
1093
  function_response = get_current_weather(
1094
+ location=arguments_dict["location"],
1095
+ unit=arguments_dict["unit"]
1096
  )
1097
 
1098
  print("FUNCTION_RESPONSE:", function_response)