rehanafzal commited on
Commit
d99f851
·
verified ·
1 Parent(s): f9d8be7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ import streamlit as st
8
  from tempfile import NamedTemporaryFile
9
 
10
  # Initialize Groq client
11
- client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
 
12
 
13
  # Function to extract text from a PDF
14
  def extract_text_from_pdf(pdf_file_path):
 
8
  from tempfile import NamedTemporaryFile
9
 
10
  # Initialize Groq client
11
+ client = Groq(api_key=os.getenv("Groq_api_key"))
12
+ # client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
13
 
14
  # Function to extract text from a PDF
15
  def extract_text_from_pdf(pdf_file_path):