Daemontatox commited on
Commit
95e9c3f
·
verified ·
1 Parent(s): 1a95b7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -51,14 +51,10 @@ class ChatHistory:
51
  # Load environment variables and setup
52
  load_dotenv()
53
 
54
- HF_TOKEN = os.getenv("HF_TOKEN")
55
- C_apikey = os.getenv("C_apikey")
56
  OPENAPI_KEY = os.getenv("OPENAPI_KEY")
57
- GEMINI = os.getenv("GEMINI")
58
- CHUTES_KEY=os.getenv("CHUTES_KEY")
59
- if not HF_TOKEN:
60
- logger.error("HF_TOKEN is not set in the environment variables.")
61
- exit(1)
62
 
63
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
64
 
 
51
  # Load environment variables and setup
52
  load_dotenv()
53
 
54
+
 
55
  OPENAPI_KEY = os.getenv("OPENAPI_KEY")
56
+
57
+
 
 
 
58
 
59
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
60