Spaces:
Sleeping
Sleeping
ashwinkumarbv
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from groq import Groq
|
3 |
|
4 |
def generate_response(prompt):
|
5 |
-
client = Groq(api_key="
|
6 |
completion = client.chat.completions.create(
|
7 |
model="llama3-8b-8192",
|
8 |
messages=[
|
|
|
2 |
from groq import Groq
|
3 |
|
4 |
def generate_response(prompt):
|
5 |
+
client = Groq(api_key="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") # Replace with your actual API key
|
6 |
completion = client.chat.completions.create(
|
7 |
model="llama3-8b-8192",
|
8 |
messages=[
|