Minor correction

This commit is contained in:
Netkas 2021-01-14 14:51:38 -05:00
parent 9db19051c8
commit a5abcdb7a3
1 changed files with 1 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import requests
import base64
import time
import sys
import os
def core_nlp():
@ -107,9 +108,6 @@ def nsfw():
current_tries = 0
max_tries = 30 # 5 Minutes
import os
print()
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "red.jpg"), "rb") as img_file:
image_data = base64.b64encode(img_file.read()).decode('utf-8')