Toshi94 commited on
Commit
5b4afea
·
verified ·
1 Parent(s): 446b891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
- !pip install --upgrade langchain langchain-core langchain-community langchain-groq gradio python-dotenv
2
- !pip install langchain-groq
3
 
4
  import os
5
  import gradio as gr
@@ -26,7 +26,7 @@ except ImportError as e:
26
  # =========================
27
  #GROQ_API_KEY = "add your api key or load from google secerets"
28
 
29
- GROQ_API_KEY = userdata.get('GROQ_API_KEY')
30
 
31
 
32
  # =========================
 
1
+ # !pip install --upgrade langchain langchain-core langchain-community langchain-groq gradio python-dotenv
2
+ # !pip install langchain-groq
3
 
4
  import os
5
  import gradio as gr
 
26
  # =========================
27
  #GROQ_API_KEY = "add your api key or load from google secerets"
28
 
29
+ GROQ_API_KEY = os.getenv('GROQ_API_KEY')
30
 
31
 
32
  # =========================