Skip to content

Commit e70a1f5

Browse files
committed
updated buttons
1 parent cf198fa commit e70a1f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def __init__(self, root):
3232
self.button_clear = tk.Button(root, text="Clear", command=self.clear)
3333
self.button_clear.pack(side=tk.LEFT)
3434

35-
self.button_undo = tk.Button(root, text="Undo", command=self.undo)
35+
self.button_undo = tk.Button(root, text="Undo (Cmd/Ctrl Z)", command=self.undo)
3636
self.button_undo.pack(side=tk.LEFT)
3737

38-
self.button_calculate = tk.Button(root, text="Calculate", command=self.calculate)
38+
self.button_calculate = tk.Button(root, text="Calculate (Return/Enter)", command=self.calculate)
3939
self.button_calculate.pack(side=tk.LEFT)
4040

4141
self.custom_font = tkFont.Font(family="Noteworthy", size=100)
@@ -111,7 +111,7 @@ def encode_image_to_base64(image):
111111

112112
answer = response.choices[0].message.content
113113
self.draw_answer(answer)
114-
print(answer)
114+
# print(answer)
115115

116116
def command_calculate(self, event):
117117
self.calculate()

0 commit comments

Comments
 (0)