Skip to content

Commit fcacb77

Browse files
committed
reformmeted
1 parent 8c6ec1e commit fcacb77

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

scripts/AI_Workout_Tracker/home.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,22 @@
55
import mediapipe as mp
66
import imageio
77
import numpy as np
8-
8+
99
mp_drawing = mp.solutions.drawing_utils
1010
mp_pose = mp.solutions.pose
1111
from mediapipe.python.solutions.pose import PoseLandmark
1212
from exercise import workout
1313

1414
import os
15+
1516
base_dir = os.path.dirname(os.path.realpath(__file__))
1617

1718
root = Tk()
1819
root.attributes("-fullscreen", True)
1920
root.geometry(f"{root.winfo_screenwidth()}x{root.winfo_screenheight()}")
2021
root["bg"] = "black"
2122

23+
2224
def opencameraWindow():
2325
lst = []
2426
global cam_bg, startt_btn, stop_btn, camera_window, imgcanvas, begin

scripts/CryptoCurrencyTracker/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import requests
77

88
import os
9+
910
base_dir = os.path.dirname(os.path.realpath(__file__))
1011

1112
c = 0

scripts/alarm-clock/alarm_clock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
from playsound import playsound
66

77
import os
8+
89
base_dir = os.path.dirname(os.path.realpath(__file__))
910

1011
# import pyobjus
1112

1213
msg = "Wake Up!" # your default remainder/alarm message
13-
audio_path = f"{base_dir}/alarm-songs/ncs_high.mp3" # your default remainder/alarm audio
14+
audio_path = (
15+
f"{base_dir}/alarm-songs/ncs_high.mp3" # your default remainder/alarm audio
16+
)
1417

1518

1619
def show_notification(title_msg, message):

0 commit comments

Comments
 (0)