awacke1 commited on
Commit
98acea9
·
1 Parent(s): 9649244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -53,23 +53,23 @@ def calculator(intro, operator, outro):
53
  if operator == "add":
54
  output = generator2(intro) + generator3(outro)
55
  title = intro + " " + outro
56
- saved = AIMemory(title, output)
57
  return output
58
  elif operator == "subtract":
59
  output = generator2(outro) + generator3(intro)
60
  title = outro + " " + intro
61
- saved = AIMemory(title, output)
62
  output = output.replace(intro, "").replace(outro, "")
63
  return output
64
  elif operator == "multiply":
65
  output = generator1(intro) + generator2(outro) + generator3(intro)
66
  title = intro + " " + outro + " " + intro
67
- saved = AIMemory(title, output)
68
  return output
69
  elif operator == "divide":
70
  output = generator1(outro) + generator2(intro) + generator3(outro)
71
  title = outro + " " + intro + " " + outro
72
- saved = AIMemory(title, output)
73
  output = output.replace(intro, "").replace(outro, "")
74
  return output
75
 
 
53
  if operator == "add":
54
  output = generator2(intro) + generator3(outro)
55
  title = intro + " " + outro
56
+ #saved = AIMemory(title, output)
57
  return output
58
  elif operator == "subtract":
59
  output = generator2(outro) + generator3(intro)
60
  title = outro + " " + intro
61
+ #saved = AIMemory(title, output)
62
  output = output.replace(intro, "").replace(outro, "")
63
  return output
64
  elif operator == "multiply":
65
  output = generator1(intro) + generator2(outro) + generator3(intro)
66
  title = intro + " " + outro + " " + intro
67
+ #saved = AIMemory(title, output)
68
  return output
69
  elif operator == "divide":
70
  output = generator1(outro) + generator2(intro) + generator3(outro)
71
  title = outro + " " + intro + " " + outro
72
+ #saved = AIMemory(title, output)
73
  output = output.replace(intro, "").replace(outro, "")
74
  return output
75