Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/GPT3Discord/commit/d928f32661f606ec463e4c7c5349e3edf719a213
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
2 deletions
@ -65,7 +65,9 @@ class GPT3ComCon(commands.Cog, name="GPT3ComCon"):
# Attempt to read a conversation starter text string from the file.
with conversation_file_path . open ( " r " ) as f :
self . CONVERSATION_STARTER_TEXT = f . read ( )
print ( f " Conversation starter text loaded from { conversation_file_path } . " )
print (
f " Conversation starter text loaded from { conversation_file_path } . "
)
assert self . CONVERSATION_STARTER_TEXT is not None
except Exception :
@ -34,7 +34,9 @@ class ImgPromptOptimizer(commands.Cog, name="ImgPromptOptimizer"):
self . deletion_queue = deletion_queue
try :
image_pretext_path = self . converser_cog . data_path / " image_optimizer_pretext.txt "
image_pretext_path = (
self . converser_cog . data_path / " image_optimizer_pretext.txt "
)
# Try to read the image optimizer pretext from
# the file system
with image_pretext_path . open ( " r " ) as file :