Skip to content

Commit

Permalink
feat(deploy): test deployment to kubernetes azure
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Oct 29, 2024
1 parent 939ee1c commit b38a7f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion production/api/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import ffmpeg
import io
import torchaudio
from pydantic import BaseModel

app = FastAPI()

Expand All @@ -34,7 +35,7 @@
# Créer une file d'attente pour les tâches de transcription
transcription_queue = asyncio.Queue()

class Transcript:
class Transcript(BaseModel):
message:str
chunk_index: int
client_id:str
Expand Down

0 comments on commit b38a7f6

Please sign in to comment.