Afeezee commited on
Commit
039c847
·
verified ·
1 Parent(s): 15bc571

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,8 +1,12 @@
 
1
  import gradio as gr
2
  from groq import Groq
3
 
4
  # Groq API Configuration
5
- client = Groq(api_key = "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")
 
 
 
6
 
7
  # Function to handle responses from Groq
8
  def chatbot(message, history, system_message, max_tokens, temperature, top_p):
 
1
+ import os
2
  import gradio as gr
3
  from groq import Groq
4
 
5
  # Groq API Configuration
6
+
7
+ keyment = os.getenv ("Mental")
8
+
9
+ client = Groq(api_key = keyment)
10
 
11
  # Function to handle responses from Groq
12
  def chatbot(message, history, system_message, max_tokens, temperature, top_p):