Skip to content

Commit

Permalink
ref(black): reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ovuruska committed Apr 29, 2024
1 parent 1f2a745 commit c7144aa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepinfra/models/base/automatic_speech_recognition.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The automatic speech recognition model.
"""

from deepinfra.models.base import BaseModel
from deepinfra.types.automatic_speech_recognition.response import (
AutomaticSpeechRecognitionResponse,
Expand All @@ -9,7 +10,6 @@


class AutomaticSpeechRecognition(BaseModel):

"""
@docs Check the available models at https://deepinfra.com/models/automatic-speech-recognition
"""
Expand Down
1 change: 1 addition & 0 deletions deepinfra/models/base/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Base class for all models.
"""

import os
from typing import Union

Expand Down
1 change: 0 additions & 1 deletion deepinfra/models/base/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class Embeddings(BaseModel):
@docs Check the available models at https://deepinfra.com/models/embeddings
"""


def generate(self, body: EmbeddingsRequest) -> EmbeddingsResponse:
"""
Generates embeddings.
Expand Down
1 change: 1 addition & 0 deletions deepinfra/models/base/text_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This module contains the TextGeneration class,
which is the base class for all text generation models.
"""

from typing import Union

from deepinfra.models.base import BaseModel
Expand Down

0 comments on commit c7144aa

Please sign in to comment.