harryab commited on
Commit
17b5ad6
·
verified ·
1 Parent(s): 86cb207

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -33,12 +33,11 @@ def save_user_response(question: str, answer: str):
33
  This function saves the user's responses to the memory based on the question asked.
34
 
35
  Args:
36
- question (str): The question asked to the user (e.g., "What is your marathon time?").
37
- answer (str): The user's response to the question (e.g., "3:30").
38
 
39
  Example:
40
- If the question is "What is your marathon time?" and the answer is "3:30",
41
- the marathon time will be saved to the user's data.
42
  """
43
  if "marathon time" in question.lower():
44
  if ":" in answer:
 
33
  This function saves the user's responses to the memory based on the question asked.
34
 
35
  Args:
36
+ question (str): A string representing the question asked to the user. For example, "What is your marathon time?".
37
+ answer (str): A string representing the user's response. For example, "3:30" or "Male".
38
 
39
  Example:
40
+ save_user_response("What is your marathon time?", "3:30")
 
41
  """
42
  if "marathon time" in question.lower():
43
  if ":" in answer: