ManishThota commited on
Commit
c82f10f
1 Parent(s): 486bd10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,10 +1,8 @@
1
  import gradio as gr
2
  import os
3
-
4
- # Assuming `groq` is the correct package name and it has the described structure
5
  from groq import Groq
6
 
7
- client = Groq(api_key=userdata.get('GROQ_API_KEY'))
8
 
9
 
10
  def get_response(question, model_choice):
 
1
  import gradio as gr
2
  import os
 
 
3
  from groq import Groq
4
 
5
+ client = Groq(api_key=os.environ['GROQ_API_KEY'])
6
 
7
 
8
  def get_response(question, model_choice):