PRSHNTKUMR commited on
Commit
c18b184
·
verified ·
1 Parent(s): 9b9f12c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -2
src/streamlit_app.py CHANGED
@@ -38,7 +38,6 @@ embeddings_model = OpenAIEmbeddings(openai_api_key=API_KEY)
38
 
39
  # --- Streamlit Page Setup ---
40
  st.set_page_config(page_title="RAG File Chat", layout="centered")
41
- st.set_option("server.enableXsrfProtection", False)
42
  st.title("🧠 Chat with Your Uploaded File")
43
 
44
  # --- Session State ---
@@ -149,4 +148,3 @@ if st.session_state.file_uploaded:
149
  except Exception:
150
  st.warning("⚠️ Could not render table. Showing raw text.")
151
  st.text(response)
152
-
 
38
 
39
  # --- Streamlit Page Setup ---
40
  st.set_page_config(page_title="RAG File Chat", layout="centered")
 
41
  st.title("🧠 Chat with Your Uploaded File")
42
 
43
  # --- Session State ---
 
148
  except Exception:
149
  st.warning("⚠️ Could not render table. Showing raw text.")
150
  st.text(response)