From 2c0e2618e93fabd25b03a9f6850b24ea9931ff6d Mon Sep 17 00:00:00 2001 From: Andrew French Date: Mon, 3 Jun 2024 14:40:26 -0700 Subject: [PATCH] attr -> attrs --- .../audio_transcription/base_audio_transcription_driver.py | 2 +- .../audio_transcription/openai_audio_transcription_driver.py | 2 +- griptape/loaders/audio_loader.py | 2 +- griptape/tasks/audio_transcription_task.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/griptape/drivers/audio_transcription/base_audio_transcription_driver.py b/griptape/drivers/audio_transcription/base_audio_transcription_driver.py index cad95623c..3cc368c94 100644 --- a/griptape/drivers/audio_transcription/base_audio_transcription_driver.py +++ b/griptape/drivers/audio_transcription/base_audio_transcription_driver.py @@ -3,7 +3,7 @@ from abc import ABC, abstractmethod from typing import TYPE_CHECKING, Optional -from attr import define, field +from attrs import define, field from griptape.artifacts import TextArtifact, AudioArtifact from griptape.events import StartAudioTranscriptionEvent, FinishAudioTranscriptionEvent diff --git a/griptape/drivers/audio_transcription/openai_audio_transcription_driver.py b/griptape/drivers/audio_transcription/openai_audio_transcription_driver.py index a2ee5f6bf..14b367521 100644 --- a/griptape/drivers/audio_transcription/openai_audio_transcription_driver.py +++ b/griptape/drivers/audio_transcription/openai_audio_transcription_driver.py @@ -4,7 +4,7 @@ from typing import Optional import openai -from attr import field, Factory, define +from attrs import field, Factory, define from griptape.artifacts import AudioArtifact, TextArtifact from griptape.drivers import BaseAudioTranscriptionDriver diff --git a/griptape/loaders/audio_loader.py b/griptape/loaders/audio_loader.py index d348d30eb..532662e79 100644 --- a/griptape/loaders/audio_loader.py +++ b/griptape/loaders/audio_loader.py @@ -2,7 +2,7 @@ from typing import cast -from attr import define +from attrs import define from griptape.artifacts import AudioArtifact from griptape.loaders import BaseLoader diff --git a/griptape/tasks/audio_transcription_task.py b/griptape/tasks/audio_transcription_task.py index cab5c8811..c75faa0d4 100644 --- a/griptape/tasks/audio_transcription_task.py +++ b/griptape/tasks/audio_transcription_task.py @@ -3,7 +3,7 @@ from abc import ABC from typing import Callable -from attr import define, field +from attrs import define, field from griptape.artifacts.audio_artifact import AudioArtifact from griptape.engines import AudioTranscriptionEngine