ford442 commited on
Commit
1e0b260
1 Parent(s): b0e4db0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -38,6 +38,7 @@ torch.set_float32_matmul_precision("highest")
38
  # Load Hugging Face token if needed
39
  hf_token = os.getenv("HF_TOKEN")
40
  openai_api_key = os.getenv("OPENAI_API_KEY")
 
41
 
42
  system_prompt_t2v_path = "assets/system_prompt_t2v.txt"
43
  system_prompt_i2v_path = "assets/system_prompt_i2v.txt"
 
38
  # Load Hugging Face token if needed
39
  hf_token = os.getenv("HF_TOKEN")
40
  openai_api_key = os.getenv("OPENAI_API_KEY")
41
+ client = OpenAI(api_key=openai_api_key)
42
 
43
  system_prompt_t2v_path = "assets/system_prompt_t2v.txt"
44
  system_prompt_i2v_path = "assets/system_prompt_i2v.txt"