Skip to content

Commit be6e0ae

Browse files
committed
Minor Edited
1 parent eac9e5b commit be6e0ae

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
I'LL MY BEST
33
<p>Used tools Visual Studio Code, Sourcetree, Git Bash</p>
44
<p>Used languages Python</p>
5-
<p>Used libraries openai, streamlit</p>
5+
<p>Used chatbot api version GPT-3.5-turbo</p>
6+
<p>Used libraries openai, streamlit, watchdog</p>

app.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
from openai import OpenAI
22
import streamlit as st
33

4-
# Lastest Edited | 2025 may 06th tue pm 04:32 utc+09:00
5-
# X(Twitter) @shininggrail | Discord nerdmecha#1806 | GameJolt @nerdmecha
4+
# Lastest Edited | 2025 may 07th wed pm 09:30 utc+09:05
5+
# X(Twitter) @shininggrail | Discord nerdmecha#1806 | GameJolt @nerdmecha | Bluesky @nerdmecha.bsky.social
66

77
with st.sidebar:
88
openai_api_key = st.secrets.get("OPENAI_API_KEY") or st.text_input("OpenAI API Key", key="chatbot_api_key", type="password")
9-
"[Get an OpenAI API key](https://platform.openai.com/account/api-keys)"
10-
"[View the source code](https://github.com/streamlit/llm-examples/blob/main/Chatbot.py)"
11-
"[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/streamlit/llm-examples?quickstart=1)"
9+
# Get an OpenAI API key https://platform.openai.com/account/api-keys
10+
# View the source code https://github.com/streamlit/llm-examples/blob/main/Chatbot.py
11+
# Open in GitHub Codespaces https://github.com/codespaces/badge.svg https://codespaces.new/streamlit/llm-examples?quickstart=1
1212

1313
st.title("💬 Chatbot")
1414
st.caption("🚀 Powered by OpenAI")
15+
1516
if "messages" not in st.session_state:
1617
st.session_state["messages"] = [{"role": "assistant", "content": "How can I help you?"}]
1718

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pip install openai
2-
pip install streamlit
2+
pip install streamlit
3+
pip install watchdog

0 commit comments

Comments
 (0)