Skip to content

Commit

Permalink
tried again to add corresponding dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Tin Chi Lo committed Nov 15, 2024
1 parent 21200e6 commit 046e4cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
from openai import AzureOpenAI
import os
from mock import patch
from dotenv import load_dotenv
import os

load_dotenv()

client = AzureOpenAI(
api_key = os.getenv("AZURE_OPENAI_API_KEY"),
Expand Down

0 comments on commit 046e4cc

Please sign in to comment.