Muhammadbilal10101 commited on
Commit
f1def68
·
verified ·
1 Parent(s): 6ad87d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  import time
 
3
  from autism_chatbot import *
4
 
5
  class StreamHandler:
@@ -132,7 +133,7 @@ def main():
132
  if st.session_state.bot is None:
133
  stream_handler = StreamHandler(stream_placeholder)
134
  st.session_state.bot = StreamingAutismResearchBot(
135
- groq_api_key="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",
136
  stream_handler=stream_handler,
137
  )
138
  else:
 
1
  import streamlit as st
2
  import time
3
+ import os
4
  from autism_chatbot import *
5
 
6
  class StreamHandler:
 
133
  if st.session_state.bot is None:
134
  stream_handler = StreamHandler(stream_placeholder)
135
  st.session_state.bot = StreamingAutismResearchBot(
136
+ groq_api_key = os.environ.get("GROQ_API_KEY"),
137
  stream_handler=stream_handler,
138
  )
139
  else: