Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -42,7 +42,7 @@ def fetch_notion_database():
|
|
| 42 |
"keywords": [k.strip() for k in keywords_str.split(',')],
|
| 43 |
"content": content
|
| 44 |
})
|
| 45 |
-
st.success("Successfully connected to Notion!")
|
| 46 |
return results
|
| 47 |
except Exception as e:
|
| 48 |
st.error(f"Failed to connect to Notion: {e}")
|
|
@@ -90,7 +90,7 @@ def generate_response(query: str, context: str) -> str:
|
|
| 90 |
# --- 3. STREAMLIT UI (No changes here) ---
|
| 91 |
st.set_page_config(page_title="Campus Helper Bot", page_icon="🤖")
|
| 92 |
st.title("🤖 Campus Helper Bot")
|
| 93 |
-
st.caption("Your AI-powered guide
|
| 94 |
|
| 95 |
if "messages" not in st.session_state:
|
| 96 |
st.session_state.messages = [
|
|
|
|
| 42 |
"keywords": [k.strip() for k in keywords_str.split(',')],
|
| 43 |
"content": content
|
| 44 |
})
|
| 45 |
+
#st.success("Successfully connected to Notion!")
|
| 46 |
return results
|
| 47 |
except Exception as e:
|
| 48 |
st.error(f"Failed to connect to Notion: {e}")
|
|
|
|
| 90 |
# --- 3. STREAMLIT UI (No changes here) ---
|
| 91 |
st.set_page_config(page_title="Campus Helper Bot", page_icon="🤖")
|
| 92 |
st.title("🤖 Campus Helper Bot")
|
| 93 |
+
st.caption("Your AI-powered guide!")
|
| 94 |
|
| 95 |
if "messages" not in st.session_state:
|
| 96 |
st.session_state.messages = [
|