You are browsing as a guest. Sign up (or log in) to start making projects!

1h 39m 32s logged

New timer feature implemented, plus more

  • Created a handle_prompt() function in main.py to handle any task-specific prompt given by the user.
  • For example: if I say “Play …” or “Set a timer of …” then it will recognize this specific pattern and handle those actions perfectly, and if it’s something else than the AI will just answer it.
  • It’s scalable, so I can add more features in the future, such as “Definition of” or idk (if you have any ideas lemme know in the comments)
  • Created a timer.py file which handles the timer feature, which is sort of complicated but now works (it displays on-screen in real time, which is pretty cool)
  • All in all, main.py is now very clean and readable.
1
165

Comments 0

No comments yet. Be the first!