Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,8 @@ from llama_index.core import ServiceContext
|
|
| 7 |
from llama_index.core.node_parser import SentenceSplitter
|
| 8 |
from PyPDF2 import PdfReader
|
| 9 |
import tempfile
|
|
|
|
|
|
|
| 10 |
|
| 11 |
#GROQ_API_KEY = "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"
|
| 12 |
|
|
|
|
| 7 |
from llama_index.core.node_parser import SentenceSplitter
|
| 8 |
from PyPDF2 import PdfReader
|
| 9 |
import tempfile
|
| 10 |
+
from dotenv import load_dotenv
|
| 11 |
+
load_dotenv()
|
| 12 |
|
| 13 |
#GROQ_API_KEY = "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"
|
| 14 |
|