Spaces:
Sleeping
Sleeping
Update sherlock2.py
Browse files- sherlock2.py +0 -23
sherlock2.py
CHANGED
@@ -170,29 +170,6 @@ def display_chat_history():
|
|
170 |
def clear_chat():
|
171 |
st.session_state.chat_history = []
|
172 |
|
173 |
-
def show_intro_popup():
|
174 |
-
"""Displays a popup with detailed information about Sherlock and chat instructions,
|
175 |
-
emphasizing the importance of reliable sources and cautioning against misleading online information."""
|
176 |
-
with st.expander("Welcome to AI Detective Sherlock Holmes!"):
|
177 |
-
st.write("""
|
178 |
-
**Meet Sherlock Holmes, the world's most renowned detective!**
|
179 |
-
|
180 |
-
This application allows you to:
|
181 |
-
|
182 |
-
* **Investigate Cases:** Upload case files and images for Sherlock to analyze. He will use his exceptional deductive reasoning skills to uncover clues and provide insights.
|
183 |
-
* **Chat with Sherlock:** Ask him questions and get his expert opinion on various aspects of the case.
|
184 |
-
|
185 |
-
**To chat with Sherlock, go to the "Chat with Sherlock" page in the sidebar.**
|
186 |
-
|
187 |
-
**Important Note:**
|
188 |
-
|
189 |
-
While the internet can be a valuable resource, it's crucial to be aware that not all information found online is accurate or reliable. To ensure the integrity of our investigation, we prioritize the use of trustworthy sources such as official documents, witness testimonies, and expert analysis.
|
190 |
-
|
191 |
-
Therefore, **we advise against relying solely on internet searches** during the investigation process. Instead, focus on providing Sherlock with concrete evidence and factual information to facilitate his deductions.
|
192 |
-
|
193 |
-
Remember, the truth is often elusive, but with careful observation, logical reasoning, and a discerning eye, we can unravel even the most complex mysteries.
|
194 |
-
""")
|
195 |
-
|
196 |
def investigate():
|
197 |
"""Handles the case investigation process with improved UI and functionality."""
|
198 |
st.subheader("Case Investigation")
|
|
|
170 |
def clear_chat():
|
171 |
st.session_state.chat_history = []
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
def investigate():
|
174 |
"""Handles the case investigation process with improved UI and functionality."""
|
175 |
st.subheader("Case Investigation")
|