Refactor the code to make it more modular

This commit is contained in:
oobabooga 2023-02-23 12:05:25 -03:00
parent 18e0ec955e
commit 98af4bfb0d
10 changed files with 737 additions and 713 deletions

View file

@ -3,9 +3,7 @@
This is a library for formatting GPT-4chan and chat outputs as nice HTML.
'''
import base64
import copy
import os
import re
from io import BytesIO