ibrahim313 commited on
Commit
5b56a6d
·
verified ·
1 Parent(s): 1dd4f83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,10 +3,10 @@ import os
3
  from groq import Groq
4
 
5
  # Set up page configuration
6
- st.set_page_config(page_title="EduNexus", page_icon=":book:", layout="wide")
7
 
8
  # Set the Groq API key
9
- os.environ["GROQ_API_KEY"] = "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"
10
 
11
  # Initialize Groq client
12
  client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
@@ -196,7 +196,7 @@ elif selected_task == "🧠 Mental Health Check-In":
196
  with col1:
197
  submit_button = st.form_submit_button("Get Advice")
198
  with col2:
199
- clear_button = st.button("Clear")
200
  if submit_button:
201
  response = mental_health_check_in(feelings)
202
  st.write(response)
 
3
  from groq import Groq
4
 
5
  # Set up page configuration
6
+ st.set_page_config(page_title="EduNexus📖", page_icon=":book:", layout="wide")
7
 
8
  # Set the Groq API key
9
+ os.environ["GROQ_API_KEY"] = "your_groq_api_key_here" # Replace with your actual API key
10
 
11
  # Initialize Groq client
12
  client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
 
196
  with col1:
197
  submit_button = st.form_submit_button("Get Advice")
198
  with col2:
199
+ clear_button = st.form_submit_button("Clear")
200
  if submit_button:
201
  response = mental_health_check_in(feelings)
202
  st.write(response)