Spaces:
Runtime error
Runtime error
update
Browse filesupdated inference function for capturing correct input param definitions
app.py
CHANGED
|
@@ -53,8 +53,7 @@ def function_to_json(func_str, func_description, param_descriptions, required_pa
|
|
| 53 |
function_json["parameters"]["required"].append(param_name)
|
| 54 |
|
| 55 |
return json.dumps(function_json, indent=4)
|
| 56 |
-
|
| 57 |
-
|
| 58 |
|
| 59 |
""" Example uasge:
|
| 60 |
# Example usage with user-provided function information
|
|
|
|
| 53 |
function_json["parameters"]["required"].append(param_name)
|
| 54 |
|
| 55 |
return json.dumps(function_json, indent=4)
|
| 56 |
+
|
|
|
|
| 57 |
|
| 58 |
""" Example uasge:
|
| 59 |
# Example usage with user-provided function information
|