Haseeb-001 commited on
Commit
bdb9a26
·
verified ·
1 Parent(s): 267970e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,8 +6,7 @@ from fpdf import FPDF # For PDF generation
6
  api = "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"
7
 
8
  # --- Groq API Setup ---
9
- client = Groq(api_key=api)
10
-
11
  # Function to get code from StarCoder model
12
  def generate_code(summary, language):
13
  try:
 
6
  api = "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"
7
 
8
  # --- Groq API Setup ---
9
+ client = Groq(api_key=os.environ.get(api))
 
10
  # Function to get code from StarCoder model
11
  def generate_code(summary, language):
12
  try: