saherPervaiz commited on
Commit
572c91b
·
verified ·
1 Parent(s): 304f193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -3,10 +3,8 @@ import pandas as pd
3
  import requests
4
  from groq import Groq
5
  import os
6
-
7
- # Set the API key directly or from environment variable
8
- api_key = "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" # Replace with your actual demo API key
9
-
10
  # Initialize the Groq client with the API key
11
  client = Groq(api_key=api_key)
12
 
 
3
  import requests
4
  from groq import Groq
5
  import os
6
+ from google.colab import userdata
7
+ api=userdata.get('demo')
 
 
8
  # Initialize the Groq client with the API key
9
  client = Groq(api_key=api_key)
10