Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,7 @@ from helpers import (
|
|
15 |
from file_loader import get_vectorstore
|
16 |
# import asyncio
|
17 |
|
18 |
-
|
19 |
-
os.environ["GOOGLE_API_KEY"] = "AIzaSyDJ4vIKuIBIPNHATLxnoHlagXWbsAz-vRs"
|
20 |
-
key = "AIzaSyDJ4vIKuIBIPNHATLxnoHlagXWbsAz-vRs"
|
21 |
|
22 |
# Cấu hình API key cho Google GenAI
|
23 |
genai.configure(api_key=key)
|
|
|
15 |
from file_loader import get_vectorstore
|
16 |
# import asyncio
|
17 |
|
18 |
+
key = os.getenv("GOOGLE_API_KEY")
|
|
|
|
|
19 |
|
20 |
# Cấu hình API key cho Google GenAI
|
21 |
genai.configure(api_key=key)
|