Skip to content

Commit

Permalink
update task
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSun committed Jul 3, 2024
1 parent c45841e commit 6bcc36e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- name: Run tox for Django
run: |
cd ./API
tox -e isort
tox -e black
tox
- name: Run tox for Client Listener
run: |
cd ./Client/Listener
Expand Down
5 changes: 1 addition & 4 deletions API/authenticate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework_simplejwt.tokens import RefreshToken
from rest_framework_simplejwt.views import (
TokenObtainPairView,
TokenRefreshView,
)
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView

from authenticate.serializers import (
APIReturnTokenSerializer,
Expand Down
2 changes: 1 addition & 1 deletion API/hardware/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib import admin
from django.utils.translation import gettext_lazy as _
from import_export.admin import ImportExportModelAdmin

from hardware.models import (
Expand All @@ -12,7 +13,6 @@
ResSpeech,
ResText,
)
from django.utils.translation import gettext_lazy as _
from orchestrator.chain.manager import CLUSTERS


Expand Down
2 changes: 1 addition & 1 deletion API/orchestrator/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class WorkerConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "orchestrator"

def ready(self): # noqa
def ready(self): # noqa
# Import signals
import orchestrator.chain.completed_emotion_detection
import orchestrator.chain.completed_hf_llm
Expand Down

0 comments on commit 6bcc36e

Please sign in to comment.