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