Closed tejusrevi closed 3 years ago
@tejusrevi If you don't mind me asking, how did you test this locally? That's something I haven't done much
@VickiLanger I called the function in the main body of get_img_for_tweet.py and ran just that .py file.
@VickiLanger I called the function in the main body of get_img_for_tweet.py and ran just that .py file.
Hmm, okay. I think, something like below?
>>> from get_img_for_tweet.py import *
>>> get_img_for_tweet("some strings of things to test the image")
Yeah. That's exactly what I did. Only difference is that I didn't import into an other python file.
Thanks for helping. I appreciate it
I tried to solve this issue by creating a list of all files in assets folder and choosing a random item from that list for font_type and font_type2.
But few fonts gave a distorted output