Skip to content

Commit

Permalink
ci is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ovuruska committed Apr 26, 2024
1 parent ee91c7f commit 35fe6cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
python-version: [3.7, 3.9, 3.12]
python-version: [3.7, 3.9, 3.11]

steps:
- name: Checkout code
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Run lint check
run: |
black --check --verbose deepinfra
black --check --verbose deepinfra
7 changes: 1 addition & 6 deletions deepinfra/models/base/automatic_speech_recognition.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from deepinfra.models.base import BaseModel
from deepinfra.types.automatic_speech_recognition.request import (
AutomaticSpeechRecognitionRequest,
)
from deepinfra.types.automatic_speech_recognition.response import (
AutomaticSpeechRecognitionResponse,
)
Expand All @@ -20,9 +17,7 @@ class AutomaticSpeechRecognition(BaseModel):
def __init__(self, endpoint: str, auth_token: str = None):
super().__init__(endpoint, auth_token)

def generate(
self, body: AutomaticSpeechRecognitionRequest
) -> AutomaticSpeechRecognitionResponse:
def generate(self, body) -> AutomaticSpeechRecognitionResponse:
"""
Generates the automatic speech recognition response.
@param body: The request body.
Expand Down
2 changes: 1 addition & 1 deletion deepinfra/models/base/image_generation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from deepinfra.models.base.base import BaseModel
from .base import BaseModel


class ImageGeneration(BaseModel):
Expand Down

0 comments on commit 35fe6cd

Please sign in to comment.