diff --git a/README.md b/README.md index c10bdcb..6a0566e 100644 --- a/README.md +++ b/README.md @@ -43,3 +43,6 @@ In another terminal, run the narrator: python narrator.py ``` +## Test Note +This is a test change to the README file. + diff --git a/capture.py b/capture.py index bc9845c..eb782b6 100644 --- a/capture.py +++ b/capture.py @@ -4,6 +4,8 @@ from PIL import Image import numpy as np import os +# Hello world + # Folder folder = "frames" diff --git a/narrator.py b/narrator.py index cd086f7..2ef50fd 100644 --- a/narrator.py +++ b/narrator.py @@ -7,11 +7,14 @@ import simpleaudio as sa import errno from elevenlabs import generate, play, set_api_key, voices +# Hello world + client = OpenAI() set_api_key(os.environ.get("ELEVENLABS_API_KEY")) def encode_image(image_path): + # TEST EDIT 3: Added comment while True: try: with open(image_path, "rb") as image_file: @@ -84,7 +87,7 @@ def main(): base64_image = encode_image(image_path) # analyze posture - print("👀 David is watching...") + print("👀 David is watching closely...") # TEST EDIT 2 analysis = analyze_image(base64_image, script=script) print("🎙️ David says:") @@ -94,8 +97,8 @@ def main(): script = script + [{"role": "assistant", "content": analysis}] - # wait for 5 seconds - time.sleep(5) + # wait for 7 seconds - TEST EDIT 1 + time.sleep(7) if __name__ == "__main__":