Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -51,11 +51,3 @@ st.subheader("Conversation")
|
|
51 |
for chat in st.session_state.chat_history:
|
52 |
st.write(f"You: {chat['user']}")
|
53 |
st.write(f"Bot: {chat['bot']}")
|
54 |
-
|
55 |
-
# Sidebar information
|
56 |
-
st.sidebar.title("Settings")
|
57 |
-
st.sidebar.write("API Key Source: Environment Variable (Recommended for security)")
|
58 |
-
if GROQ_API_KEY:
|
59 |
-
st.sidebar.success("Groq Client Initialized Successfully!")
|
60 |
-
else:
|
61 |
-
st.sidebar.warning("Using API Key Directly in Code (Not Recommended). Please set GROQ_API_KEY environment variable.")
|
|
|
51 |
for chat in st.session_state.chat_history:
|
52 |
st.write(f"You: {chat['user']}")
|
53 |
st.write(f"Bot: {chat['bot']}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|