Format Python code with psf/black push

github-actions 1 year ago
parent 6c4438de45
commit c1aea39db1

@ -115,10 +115,13 @@ class TranscribeService(discord.Cog, name="TranscribeService"):
await response_message.delete()
return
await response_message.edit(embed=EmbedStatics.build_transcribe_success_embed(response))
await response_message.edit(
embed=EmbedStatics.build_transcribe_success_embed(response)
)
except Exception as e:
await response_message.edit(embed=EmbedStatics.build_transcribe_failed_embed(str(e)))
await response_message.edit(
embed=EmbedStatics.build_transcribe_failed_embed(str(e))
)
async def transcribe_file_command(
self,
@ -152,7 +155,6 @@ class TranscribeService(discord.Cog, name="TranscribeService"):
embed=EmbedStatics.build_transcribe_progress_embed()
)
try:
response = await self.model.send_transcription_request(
file, temperature, user_api_key

Loading…
Cancel
Save