Skip to content

Commit

Permalink
minor gcp deployment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
josancamon19 committed Sep 4, 2024
1 parent 7a4b4ae commit 9d0f614
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gcp_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'backend/modal/**'

env:
SERVICE: backend
SERVICE: models
REGION: us-central1

jobs:
Expand Down
2 changes: 2 additions & 0 deletions backend/modal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
def speaker_identification(
uid: str, audio_file: UploadFile = File, segments: str = Form(...)
) -> List[ResponseItem]:
print('speaker_identification')
return speaker_identification_endpoint(uid, audio_file, segments)


@app.post('/v1/vad')
def vad(audio_file: UploadFile = File):
print('vad')
return vad_endpoint(audio_file)
1 change: 1 addition & 0 deletions backend/routers/memories.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def reprocess_memory(
Whenever a user wants to reprocess a memory, or wants to force process a discarded one
:return: The updated memory after reprocessing.
"""
print('')
memory = memories_db.get_memory(uid, memory_id)
if memory is None:
raise HTTPException(status_code=404, detail="Memory not found")
Expand Down

0 comments on commit 9d0f614

Please sign in to comment.