Baskar2005 commited on
Commit
c6caddc
·
verified ·
1 Parent(s): b8254aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,8 +45,8 @@ class CourseGenarator:
45
  def response(self,resume_path):
46
  client = AzureOpenAI(api_key=os.getenv("AZURE_OPENAI_KEY"),
47
  api_version="2023-07-01-preview",
48
- azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
49
- )
50
 
51
  resume_path = resume_path.name
52
  resume = self.extract_text_from_file(resume_path)
 
45
  def response(self,resume_path):
46
  client = AzureOpenAI(api_key=os.getenv("AZURE_OPENAI_KEY"),
47
  api_version="2023-07-01-preview",
48
+ azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
49
+ deployment_name="GPT-3")
50
 
51
  resume_path = resume_path.name
52
  resume = self.extract_text_from_file(resume_path)