Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def calculator(text1, operation, text2):
|
|
53 |
saved = AIMemory(text1 + " " + text2, output)
|
54 |
return output
|
55 |
elif operation == "subtract":
|
56 |
-
output = generator1(
|
57 |
saved = AIMemory(text1 + " " + text2, output)
|
58 |
return output.replace(text1, "").replace(text2, "")
|
59 |
elif operation == "multiply":
|
|
|
53 |
saved = AIMemory(text1 + " " + text2, output)
|
54 |
return output
|
55 |
elif operation == "subtract":
|
56 |
+
output = generator1(text2) + generator2(text1)
|
57 |
saved = AIMemory(text1 + " " + text2, output)
|
58 |
return output.replace(text1, "").replace(text2, "")
|
59 |
elif operation == "multiply":
|