Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
|
2 |
-
import streamlit as st
|
3 |
-
from groq import Groq
|
4 |
# Set the Groq API key
|
5 |
os.environ["GROQ_API_KEY"] = "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"
|
6 |
|
7 |
# Initialize Groq client
|
8 |
client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
|
9 |
|
10 |
-
|
|
|
|
|
11 |
|
12 |
|
13 |
# Define the LLaMA model to be used
|
@@ -179,3 +179,4 @@ elif selected_tool == "Mental Health Check-In":
|
|
179 |
if submit_button:
|
180 |
advice = mental_health_check_in(feelings_input)
|
181 |
st.write(advice)
|
|
|
|
1 |
+
|
|
|
|
|
2 |
# Set the Groq API key
|
3 |
os.environ["GROQ_API_KEY"] = "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"
|
4 |
|
5 |
# Initialize Groq client
|
6 |
client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
|
7 |
|
8 |
+
import os
|
9 |
+
import streamlit as st
|
10 |
+
from groq import Groq
|
11 |
|
12 |
|
13 |
# Define the LLaMA model to be used
|
|
|
179 |
if submit_button:
|
180 |
advice = mental_health_check_in(feelings_input)
|
181 |
st.write(advice)
|
182 |
+
|