TDN-M commited on
Commit
14018d2
·
verified ·
1 Parent(s): 0af8625

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ from video_processing import create_video
16
  from content_generation import create_content, CONTENT_TYPES
17
  from openai import OpenAI
18
 
19
- # Khởi tạo client OpenAI
20
- client = OpenAI(api_key=os.environ['OPENAI_API_KEY'])
21
 
22
  def create_docx(content, output_path):
23
  """
 
16
  from content_generation import create_content, CONTENT_TYPES
17
  from openai import OpenAI
18
 
19
+ # Khởi tạo client OpenAI với API key từ biến môi trường
20
+ client = OpenAI(api_key=os.environ.get('OPENAI_API_KEY'))
21
 
22
  def create_docx(content, output_path):
23
  """