Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ import openai
|
|
19 |
st.session_state.claims_extraction = ""
|
20 |
|
21 |
# Initialize session state for userinput
|
22 |
-
if 'userinput' not in st.session_state:
|
23 |
-
|
24 |
|
25 |
# Define a function to split text into chunks
|
26 |
def chunk_text(text, chunk_size=2000):
|
|
|
19 |
st.session_state.claims_extraction = ""
|
20 |
|
21 |
# Initialize session state for userinput
|
22 |
+
# if 'userinput' not in st.session_state:
|
23 |
+
st.session_state.userinput = "" # Initialize user input
|
24 |
|
25 |
# Define a function to split text into chunks
|
26 |
def chunk_text(text, chunk_size=2000):
|