Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ import streamlit as st
|
|
105 |
from tempfile import NamedTemporaryFile
|
106 |
|
107 |
# Initialize Groq client
|
108 |
-
client = Groq(api_key=os.environ.get("
|
109 |
|
110 |
# Function to extract text from a PDF
|
111 |
def extract_text_from_pdf(pdf_file_path):
|
|
|
105 |
from tempfile import NamedTemporaryFile
|
106 |
|
107 |
# Initialize Groq client
|
108 |
+
client = Groq(api_key=os.environ.get("Groq_api_key"))
|
109 |
|
110 |
# Function to extract text from a PDF
|
111 |
def extract_text_from_pdf(pdf_file_path):
|