tommy24 commited on
Commit
f2c8d73
·
1 Parent(s): 5c2ae41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -965,22 +965,22 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
965
  # else:
966
  # return None
967
 
968
- @openai_func
969
- def testing_this(name: str, number: str) -> str:
970
- """
971
- This function ask user for their name and a random integer and returns it.
972
- @param name: The name of the user
973
- @param number: Random number entered by the user
974
- """
975
-
976
- if name is None:
977
- return "Your name must be provided, inorder to run the function call"
978
- elif number is None:
979
- return "A random number must be provided, inorder to run the function call"
980
- elif name is None and number is None :
981
- return "You must provide your name and a random number to continue."
982
- else:
983
- return "Function call successfull", name, str(int)
984
 
985
  # functions = [
986
  # {
 
965
  # else:
966
  # return None
967
 
968
+ # @openai_func
969
+ # def testing_this(name: str, number: str) -> str:
970
+ # """
971
+ # This function ask user for their name and a random integer and returns it.
972
+ # @param name: The name of the user
973
+ # @param number: Random number entered by the user
974
+ # """
975
+
976
+ # if name is None:
977
+ # return "Your name must be provided, inorder to run the function call"
978
+ # elif number is None:
979
+ # return "A random number must be provided, inorder to run the function call"
980
+ # elif name is None and number is None :
981
+ # return "You must provide your name and a random number to continue."
982
+ # else:
983
+ # return "Function call successfull", name, str(int)
984
 
985
  # functions = [
986
  # {