Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from langchain.vectorstores import FAISS
|
|
8 |
from groq import Groq
|
9 |
|
10 |
# Initialize Groq API
|
11 |
-
|
|
|
12 |
|
13 |
# Function to extract text from PDF
|
14 |
def extract_text_from_pdf(pdf_path):
|
|
|
8 |
from groq import Groq
|
9 |
|
10 |
# Initialize Groq API
|
11 |
+
GROQ_API_KEY = "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"
|
12 |
+
client = Groq(api_key=GROQ_API_KEY)
|
13 |
|
14 |
# Function to extract text from PDF
|
15 |
def extract_text_from_pdf(pdf_path):
|