Tonic commited on
Commit
091728f
·
1 Parent(s): b6a096f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -12,6 +12,10 @@ import openai
12
 
13
  # initialize userinput
14
  userinput = ""
 
 
 
 
15
  # Define a function to split text into chunks
16
  def chunk_text(text, chunk_size=2000):
17
  chunks = []
 
12
 
13
  # initialize userinput
14
  userinput = ""
15
+ # Initialize session state
16
+ if 'claims_extraction' not in st.session_state:
17
+ st.session_state.claims_extraction = ""
18
+
19
  # Define a function to split text into chunks
20
  def chunk_text(text, chunk_size=2000):
21
  chunks = []