From efaf8a5b288f40e7c4842d56bb0123319b32c1fd Mon Sep 17 00:00:00 2001 From: Kannav02 Date: Mon, 18 Nov 2024 21:39:15 -0500 Subject: [PATCH] (chore) removed debug statements and added credentials.json to gitignore --- .gitignore | 1 + backend/src/api/main.py | 3 +-- frontend/streamlit_app.py | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 5c322055..9dbfefc0 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ venv/ # docs documents.txt +credentials.json # virtualenv .venv diff --git a/backend/src/api/main.py b/backend/src/api/main.py index 67b7bace..8fedc3c6 100644 --- a/backend/src/api/main.py +++ b/backend/src/api/main.py @@ -1,8 +1,7 @@ from fastapi import FastAPI -from .routers import graphs, healthcheck,chains +from .routers import graphs, healthcheck app = FastAPI() app.include_router(healthcheck.router) app.include_router(graphs.router) -app.include_router(chains.router) diff --git a/frontend/streamlit_app.py b/frontend/streamlit_app.py index 212b1ef9..d5995188 100644 --- a/frontend/streamlit_app.py +++ b/frontend/streamlit_app.py @@ -217,13 +217,11 @@ def update_state() -> None: or st.session_state.feedback_button ): try: - print("I am above feeedback form") show_feedback_form( question_dict, st.session_state.metadata, st.session_state.chat_history, - ) - + ) except Exception as e: st.error(f"Failed to load feedback form: {e}")