Afeezee commited on
Commit
e3846a9
·
verified ·
1 Parent(s): e7a8d79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import gradio as gr
2
  from groq import Groq
 
3
 
 
4
 
5
  # Configure Llama 3.1 and Gemma-2-9b (using the API key)
6
- llama_client = Groq(api_key="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")
7
 
8
  def paraphrase_with_llama(text):
9
  completion = llama_client.chat.completions.create(
 
1
  import gradio as gr
2
  from groq import Groq
3
+ import os
4
 
5
+ api_key = os.getenv("Yipada")
6
 
7
  # Configure Llama 3.1 and Gemma-2-9b (using the API key)
8
+ llama_client = Groq(api_key= api_key)
9
 
10
  def paraphrase_with_llama(text):
11
  completion = llama_client.chat.completions.create(