Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import PyPDF2
|
|
4 |
from groq import Groq
|
5 |
|
6 |
# Set up your Groq client
|
7 |
-
client = Groq(api_key="
|
8 |
|
9 |
# Function to extract text from a PDF
|
10 |
def extract_text_from_pdf(pdf_file):
|
|
|
4 |
from groq import Groq
|
5 |
|
6 |
# Set up your Groq client
|
7 |
+
client = Groq(api_key=os.getenv("GROQ_API_KEY"))
|
8 |
|
9 |
# Function to extract text from a PDF
|
10 |
def extract_text_from_pdf(pdf_file):
|