Richie-O3 commited on
Commit
7ab2803
1 Parent(s): 74e5ab2

update backend functions

Browse files
Files changed (1) hide show
  1. backend_functions.py +0 -3
backend_functions.py CHANGED
@@ -16,7 +16,6 @@ from pymongo.mongo_client import MongoClient
16
  from dotenv import load_dotenv
17
  load_dotenv()
18
 
19
- GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
20
 
21
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
22
  MODEL_OPENAI = os.getenv("MODEL_OPENAI")
@@ -37,8 +36,6 @@ IMG_XAVY = os.getenv("IMG_XAVY")
37
  CREDENTIALS_GCP = os.getenv("GOOGLE_APPLICATION_CREDENTIALS")
38
  NAME_BUCKET = os.getenv("NAME_BUCKET")
39
 
40
- # Gemini
41
- genai.configure(api_key=GEMINI_API_KEY)
42
 
43
  # Chat
44
  openai_client = OpenAI(api_key=OPENAI_API_KEY)
 
16
  from dotenv import load_dotenv
17
  load_dotenv()
18
 
 
19
 
20
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
21
  MODEL_OPENAI = os.getenv("MODEL_OPENAI")
 
36
  CREDENTIALS_GCP = os.getenv("GOOGLE_APPLICATION_CREDENTIALS")
37
  NAME_BUCKET = os.getenv("NAME_BUCKET")
38
 
 
 
39
 
40
  # Chat
41
  openai_client = OpenAI(api_key=OPENAI_API_KEY)