ysharma HF Staff commited on
Commit
ba8dc34
·
1 Parent(s): a0ffe07

updated inference function for capturing correct input param definitions

Files changed (1) hide show
  1. app.py +1 -2
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