Pratyush101 commited on
Commit
f431172
·
verified ·
1 Parent(s): 4a00881

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
71
  buttonList.append(Button([x, y], key, size=[key_width, key_height]))
72
 
73
  # Add special buttons for Backspace and Space
74
- buttonList.append(Button([int(0.85 * w), int(0.03 * h)], 'BS', size=[int(0.1 * w), key_height]))
75
- buttonList.append(Button([int(0.2 * w), int(0.5 * h)], 'SPACE', size=[int(0.6 * w), key_height]))
76
 
77
  # Draw Keyboard Buttons
78
  for button in buttonList:
 
71
  buttonList.append(Button([x, y], key, size=[key_width, key_height]))
72
 
73
  # Add special buttons for Backspace and Space
74
+ buttonList.append(Button([int(0.9 * w), int(0.03 * h)], 'BS', size=[int(0.08 * w), key_height]))
75
+ buttonList.append(Button([int(0.2 * w), int(0.4 * h)], 'SPACE', size=[int(0.6 * w), key_height]))
76
 
77
  # Draw Keyboard Buttons
78
  for button in buttonList: