Afeefa123 commited on
Commit
b6150c8
·
verified ·
1 Parent(s): c0ac38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,8 +4,9 @@ import gradio as gr
4
  import plotly.express as px
5
  from groq import Groq
6
 
7
- # Initialize Groq API client
8
- client = Groq(api_key="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")
 
9
 
10
  # Function to read and process the dataset
11
  def process_traffic_data(csv_file):
 
4
  import plotly.express as px
5
  from groq import Groq
6
 
7
+ GROQ_API_KEY ="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"
8
+
9
+ client = Groq(api_key=GROQ_API_KEY)
10
 
11
  # Function to read and process the dataset
12
  def process_traffic_data(csv_file):