Spaces:
Sleeping
Sleeping
Ishanpardeshi
commited on
Commit
•
d42f247
1
Parent(s):
dd2be67
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ from langchain_groq import ChatGroq
|
|
12 |
# API keys-----------------move them to ENV
|
13 |
os.environ["OPENAI_API_KEY"] = "NA"
|
14 |
os.environ["GOOGLE_API_KEY"] = "AIzaSyD7jKc5MdkRLakxcyhvrpie8XgbwY98NMo"
|
|
|
15 |
|
16 |
# Load The Groq model for LLM
|
17 |
llm = ChatGroq(
|
@@ -212,4 +213,4 @@ interface = gr.Interface(
|
|
212 |
)
|
213 |
|
214 |
# Launch the Gradio interface
|
215 |
-
interface.launch()
|
|
|
12 |
# API keys-----------------move them to ENV
|
13 |
os.environ["OPENAI_API_KEY"] = "NA"
|
14 |
os.environ["GOOGLE_API_KEY"] = "AIzaSyD7jKc5MdkRLakxcyhvrpie8XgbwY98NMo"
|
15 |
+
os.environ["GROQ_API_KEY"]='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'
|
16 |
|
17 |
# Load The Groq model for LLM
|
18 |
llm = ChatGroq(
|
|
|
213 |
)
|
214 |
|
215 |
# Launch the Gradio interface
|
216 |
+
interface.launch()
|