Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
r-4bb1t committed Feb 15, 2024
2 parents 129632e + 9d4f4c9 commit 9729dbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container_registry.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: KakaoCloud Container Registry Test
name: KakaoCloud Container Registry Test

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
docker stop $(docker ps -q)
docker rmi -f $(docker images -aq)
docker pull ${{ secrets.KAKAO_CLOUD_PROJECT_NAME }}.kr-central-2.kcr.dev/${{ secrets.KAKAO_CLOUD_REPOSITORY_NAME }}/lifebook:latest
docker run -e DB_PORT=$DB_PORT -e DB_DB=$DB_DB -e DB_HOST=$DB_HOST -e DB_PASSWORD=$DB_PASSWORD -e DB_USER=$DB_USER -e OPEN_API_KEY=$OPEN_API_KEY -d -p 8080:8000 ${{ secrets.KAKAO_CLOUD_PROJECT_NAME }}.kr-central-2.kcr.dev/${{ secrets.KAKAO_CLOUD_REPOSITORY_NAME }}/lifebook:latest
docker run -e DB_PORT=$DB_PORT -e DB_DB=$DB_DB -e DB_HOST=$DB_HOST -e DB_PASSWORD=$DB_PASSWORD -e DB_USER=$DB_USER -e OPEN_API_KEY=$OPEN_API_KEY -d -p 8080:8000 kucc-book.kr-central-2.kcr.dev/kubook-cr/lifebook:latest
2 changes: 1 addition & 1 deletion src/gpt/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def generate_summary(input_messages):
# Prepare the output
output = [
{"speaker": "ai", "text": input_messages[0]["text"]}, # The first AI question
{"speaker": "ai", "text": summary_response} # The GPT-generated summary
{"speaker": "user", "text": summary_response} # The GPT-generated summary
]
return output
except Exception as e:
Expand Down

0 comments on commit 9729dbb

Please sign in to comment.