Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
|
|
66 |
|
67 |
for row, key_row in enumerate(keys):
|
68 |
for col, key in enumerate(key_row):
|
69 |
-
x = int(0.03 * w + col * (key_width +
|
70 |
-
y = int(0.03 * h + row * (key_height +
|
71 |
buttonList.append(Button([x, y], key, size=[key_width, key_height]))
|
72 |
|
73 |
# Add special buttons for Backspace and Space
|
|
|
66 |
|
67 |
for row, key_row in enumerate(keys):
|
68 |
for col, key in enumerate(key_row):
|
69 |
+
x = int(0.03 * w + col * (key_width + 5))
|
70 |
+
y = int(0.03 * h + row * (key_height + 5))
|
71 |
buttonList.append(Button([x, y], key, size=[key_width, key_height]))
|
72 |
|
73 |
# Add special buttons for Backspace and Space
|