usmanyousaf commited on
Commit
36ce776
·
verified ·
1 Parent(s): a77225c

Update parse.py

Browse files
Files changed (1) hide show
  1. parse.py +6 -1
parse.py CHANGED
@@ -1,7 +1,12 @@
1
  from groq import Groq # type: ignore
2
 
3
  # Initialize Groq client with the API key directly
4
- client = Groq(api_key="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")
 
 
 
 
 
5
 
6
  # Define the template for parsing
7
  template = (
 
1
  from groq import Groq # type: ignore
2
 
3
  # Initialize Groq client with the API key directly
4
+
5
+
6
+ api_key = os.getenv("GROQ_API_KEY")
7
+
8
+ # Initialize the Groq client with the retrieved API key
9
+ client = Groq(api_key=api_key
10
 
11
  # Define the template for parsing
12
  template = (