Skip to content

Commit

Permalink
Format Python code with psf/black push
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions committed Nov 30, 2023
1 parent a9919a7 commit 800c81f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cogs/text_service_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __init__(
# Sharing service
self.sharegpt_service = ShareGPTService()

try: # TODO Clean this up, this is gross
try: # TODO Clean this up, this is gross
conversation_file_path = EnvService.find_shared_file(
"conversation_starter_pretext.txt"
)
Expand Down Expand Up @@ -185,8 +185,10 @@ def __init__(
)
assert self.CONVERSATION_DRAWING_ABILITY_SNIPPET is not None

conversation_drawing_ability_extraction_snippet = EnvService.find_shared_file(
"conversation_drawing_ability_extraction_snippet.txt"
conversation_drawing_ability_extraction_snippet = (
EnvService.find_shared_file(
"conversation_drawing_ability_extraction_snippet.txt"
)
)
with conversation_drawing_ability_extraction_snippet.open("r") as f:
self.CONVERSATION_DRAWING_ABILITY_EXTRACTION_SNIPPET = f.read()
Expand Down

0 comments on commit 800c81f

Please sign in to comment.