Marlene Mhangami Profile picture
Python & AI @Microsoft🐍✨ Vice-chair @TheOfficialACM, @ThePSF fellow. Seeing and creating open futures👁️ ex: @nvidia|@voltrondata|@pyconafrica 👩🏾‍💻🌍✝️
alphatrades.eth Profile picture 1 subscribed
Jun 29, 2022 4 tweets 4 min read
A few weeks ago I shared how you can animate a picture of yourself in #Python. Well!!! you can also animate a video of yourself too🐍✨

#animeganv2forvideos is an open ML project that uses #PyTorch to let you do this. Here's what it looks like in my terminal. Full code below👇🏿💕 This code is based on code in the project's public collab notebook✨ I edited it to run on a cpu and to be able to use it in my terminal. Pictures are in order👩🏿‍💻

You can also have a look at the original code here github.com/nateraw/animeg… ImageImageImage
Jun 28, 2022 4 tweets 3 min read
If you've ever wanted to automate sending whatsapp messages from the terminal the #Python package #pywhatkit lets you do this in one line of code🐍✨

Here's all the code I used to send a message earlier today💕 You'll need to be logged in to whatsapp web because the package uses that API to send from your number. Other than that you're good to go🤳🏿✨ You can also send messages to groups etc.

Link to the Github and docs here👇🏿💕
github.com/Ankit404butfou…
Jun 16, 2022 4 tweets 2 min read
Have you ever wanted to turn a written book into an audiobook! The #Python package #pyttsx3 converts text to speech and lets you do this in a few lines of code🐍✨

Here's all the code I used to get Python to read a short story out loud📚📣 You can change the pace, voice, and volume and it works offline! Could be a really fun side project, though the voice is a bit robotic 😅

github.com/nateshmbhat/py…