trace.moe recently changed some stuff which made this wrapper broken, So to fix this I have added a new option called "upload_file".
Here is a example one how to use this:
python
tracemoe.search('test.png', encode = False, upload_file = True) You can ignore the encode = False ONLY on Async_Trace class not normal one ( Note: In version 3.6+ all args default to False, So you can ignore this )
It is now recommended to use "natural_preview" function.
Also added support for custom aiohttp session
python
import tracemoepy
import aiohttp
async_moe = tracemoepy.Async_Trace(session = aiohttp.ClientSession())
await async_moe.search('test.png', upload_file = True)