Kunal commited on
Commit
b399bf7
·
1 Parent(s): 8f64006

update readme.md

Browse files
Files changed (2) hide show
  1. README.md +12 -10
  2. src/streamlit_app.py +3 -0
README.md CHANGED
@@ -12,13 +12,6 @@ short_description: MyAnimeList Based Agent
12
  license: mit
13
  ---
14
 
15
- # Welcome to Streamlit!
16
-
17
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
18
-
19
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
- forums](https://discuss.streamlit.io).
21
-
22
  # MAL Agent 🚀
23
 
24
  A Streamlit-powered assistant for managing your [MyAnimeList](https://myanimelist.net/) anime list, discovering new anime, and getting recommendations—all in a friendly chat interface.
@@ -42,6 +35,10 @@ A Streamlit-powered assistant for managing your [MyAnimeList](https://myanimelis
42
 
43
  ---
44
 
 
 
 
 
45
  ## Getting Started
46
 
47
  ### 1. Clone the Repository
@@ -114,6 +111,13 @@ docker run -p 8501:8501 --env-file .env mal-agent
114
 
115
  ---
116
 
 
 
 
 
 
 
 
117
  ## License
118
 
119
  MIT
@@ -132,6 +136,4 @@ MIT
132
 
133
  If you like this project, consider supporting me on Ko-fi!
134
 
135
- <a href="https://ko-fi.com/yourusername" target="_blank">
136
- <img src="https://cdn.ko-fi.com/cdn/kofi_button.png?v=3" alt="Buy Me a Coffee at ko-fi.com" height="36" style="border:0px;height:36px;" />
137
- </a>
 
12
  license: mit
13
  ---
14
 
 
 
 
 
 
 
 
15
  # MAL Agent 🚀
16
 
17
  A Streamlit-powered assistant for managing your [MyAnimeList](https://myanimelist.net/) anime list, discovering new anime, and getting recommendations—all in a friendly chat interface.
 
35
 
36
  ---
37
 
38
+ ## Screenshots
39
+ Home Page MAL Login Anime List
40
+ !Home !Login Anime List
41
+
42
  ## Getting Started
43
 
44
  ### 1. Clone the Repository
 
111
 
112
  ---
113
 
114
+ ### Important Note
115
+ > **This app can only be run locally.**
116
+
117
+ > Due to the way MyAnimeList OAuth and PKCE authentication works, you must run this app on your own machine (localhost). Hosting on Streamlit Community Cloud or other remote servers is not supported for full authentication functionality.
118
+
119
+
120
+
121
  ## License
122
 
123
  MIT
 
136
 
137
  If you like this project, consider supporting me on Ko-fi!
138
 
139
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y6IPAOF)
 
 
src/streamlit_app.py CHANGED
@@ -46,6 +46,8 @@ if not st.session_state.access_token:
46
  st.title("MyAnimeList Assistant")
47
  st.write("Please log in with your MyAnimeList account to continue.")
48
  login_button()
 
 
49
  else:
50
  # Initialize the agent after login if not already done
51
  if st.session_state.agent is None:
@@ -77,6 +79,7 @@ else:
77
  {"role": "assistant", "content": "Hi! I'm your MyAnimeList assistant. How can I help you today?"}
78
  ]
79
  st.rerun()
 
80
 
81
  # Display chat history
82
  for msg in st.session_state.messages:
 
46
  st.title("MyAnimeList Assistant")
47
  st.write("Please log in with your MyAnimeList account to continue.")
48
  login_button()
49
+ st.write("Currenltly the App can only be used on localhost, so you need to run the app locally to use it.")
50
+ st.markdown("[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y6IPAOF)")
51
  else:
52
  # Initialize the agent after login if not already done
53
  if st.session_state.agent is None:
 
79
  {"role": "assistant", "content": "Hi! I'm your MyAnimeList assistant. How can I help you today?"}
80
  ]
81
  st.rerun()
82
+ st.markdown("[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y6IPAOF)")
83
 
84
  # Display chat history
85
  for msg in st.session_state.messages: