Afeezee commited on
Commit
ff349dd
·
verified ·
1 Parent(s): c13df5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -2,10 +2,13 @@ from groq import Groq
2
  import gradio as gr
3
  import time
4
  import threading
 
 
 
5
 
6
  # Initialize the Groq client with your API key
7
  client = Groq(
8
- api_key="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"
9
  )
10
 
11
  # List to maintain the conversation history, starting with a default prompt
 
2
  import gradio as gr
3
  import time
4
  import threading
5
+ import os
6
+
7
+ api_key = os.getenv("TriviaVilla")
8
 
9
  # Initialize the Groq client with your API key
10
  client = Groq(
11
+ api_key= api_key
12
  )
13
 
14
  # List to maintain the conversation history, starting with a default prompt