akash015 commited on
Commit
6fbc599
·
verified ·
1 Parent(s): 482ac25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -282,6 +282,9 @@ async def extract_text_from_mixed_pdf(file_path):
282
  @cl.on_chat_start
283
  async def on_chat_start():
284
 
 
 
 
285
  files = None # Initialize variable to store uploaded files
286
 
287
  # Wait for the user to upload a file
 
282
  @cl.on_chat_start
283
  async def on_chat_start():
284
 
285
+ # Clear previous session data
286
+ cl.user_session.clear()
287
+
288
  files = None # Initialize variable to store uploaded files
289
 
290
  # Wait for the user to upload a file