Update app.py
Browse files
app.py
CHANGED
|
@@ -9,14 +9,14 @@ client = OpenAI(
|
|
| 9 |
api_key=os.environ["NVIDIA_API_KEY"] # Nvidia API Key from Streamlit secrets
|
| 10 |
)
|
| 11 |
|
| 12 |
-
st.title("ChatGPT-like clone with Nvidia Model")
|
| 13 |
|
| 14 |
# Sidebar with instructions and Clear Session button
|
| 15 |
with st.sidebar:
|
| 16 |
-
st.markdown("### Instructions 🤖\nThis is a basic chatbot. Ask anything, and the AI will try to help you!")
|
| 17 |
if st.button("Clear Session"):
|
| 18 |
st.session_state.clear()
|
| 19 |
-
st.
|
| 20 |
|
| 21 |
# Initialize session state variables if not already present
|
| 22 |
if "openai_model" not in st.session_state:
|
|
|
|
| 9 |
api_key=os.environ["NVIDIA_API_KEY"] # Nvidia API Key from Streamlit secrets
|
| 10 |
)
|
| 11 |
|
| 12 |
+
st.title("ChatGPT-like clone with Nvidia Nemotron 70B Model")
|
| 13 |
|
| 14 |
# Sidebar with instructions and Clear Session button
|
| 15 |
with st.sidebar:
|
| 16 |
+
st.markdown("### Instructions 🤖\nThis is a basic chatbot. Ask anything, and the AI will try to help you! The app is supported by Yiqiao Yin.")
|
| 17 |
if st.button("Clear Session"):
|
| 18 |
st.session_state.clear()
|
| 19 |
+
st.write(f"Copyright © 2010-{datetime.now().year} Present Yiqiao Yin")
|
| 20 |
|
| 21 |
# Initialize session state variables if not already present
|
| 22 |
if "openai_model" not in st.session_state:
|