thanglekdi commited on
Commit
a2d09ab
·
1 Parent(s): 11c2b1e

test deepseek

Browse files
Files changed (1) hide show
  1. call_api.py +1 -0
call_api.py CHANGED
@@ -1,6 +1,7 @@
1
  from openai import OpenAI # type: ignore
2
  import os
3
 
 
4
  def call_openai(
5
  user_prompt,
6
  chat_history: list[tuple[str, str]],
 
1
  from openai import OpenAI # type: ignore
2
  import os
3
 
4
+ GPT = OpenAI(api_key = os.getenv("OPENAI_API_KEY"))
5
  def call_openai(
6
  user_prompt,
7
  chat_history: list[tuple[str, str]],