captain-awesome commited on
Commit
d576097
1 Parent(s): f7c098a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def main():
15
  """
16
 
17
  # Get Groq API key
18
- groq_api_key = os.environ['GROQ_API_KEY']
19
 
20
  # Display the Groq logo
21
  spacer, col = st.columns([5, 1])
@@ -26,6 +26,10 @@ def main():
26
  st.title("Chat with Groq!")
27
  st.write("Hello! I'm your friendly Groq chatbot. I can help answer your questions, provide information, or just chat. I'm also super fast! Let's start our conversation!")
28
 
 
 
 
 
29
  # Add customization options to the sidebar
30
  st.sidebar.title('Customization')
31
  model = st.sidebar.selectbox(
 
15
  """
16
 
17
  # Get Groq API key
18
+ # groq_api_key = os.environ['GROQ_API_KEY']
19
 
20
  # Display the Groq logo
21
  spacer, col = st.columns([5, 1])
 
26
  st.title("Chat with Groq!")
27
  st.write("Hello! I'm your friendly Groq chatbot. I can help answer your questions, provide information, or just chat. I'm also super fast! Let's start our conversation!")
28
 
29
+ with st.sidebar:
30
+ st.header("Settings")
31
+ groq_api_key = st.text_input("Plese input your Groq API key")
32
+
33
  # Add customization options to the sidebar
34
  st.sidebar.title('Customization')
35
  model = st.sidebar.selectbox(