JBHF commited on
Commit
12459a7
1 Parent(s): ab64196

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -80,6 +80,11 @@ st.write("text_to_transcribe: ", text_to_transcribe)
80
  from langchain_core.prompts import ChatPromptTemplate
81
  from langchain_groq import ChatGroq
82
 
 
 
 
 
 
83
  # Initialize a ChatGroq object with a temperature of 0 and the "mixtral-8x7b-32768" model.
84
  llm = ChatGroq(temperature=0, model_name="mixtral-8x7b-32768")
85
  # The above code does the following:
 
80
  from langchain_core.prompts import ChatPromptTemplate
81
  from langchain_groq import ChatGroq
82
 
83
+ groq_api_key = os.environ['GROQ_API_KEY']
84
+ # groq_api_key = "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" # os.environ['GROQ_API_KEY']
85
+ # groq_api_key = "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" # JB OK 24-03-2024
86
+ st.write("groq_api_key: ", groq_api_key)
87
+
88
  # Initialize a ChatGroq object with a temperature of 0 and the "mixtral-8x7b-32768" model.
89
  llm = ChatGroq(temperature=0, model_name="mixtral-8x7b-32768")
90
  # The above code does the following: