Danielrahmai1991 commited on
Commit
b3faa81
·
verified ·
1 Parent(s): 07a4d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def process_file(file, topic):
43
 
44
  # Spl
45
  # Save chunks to database
46
- save_to_db(text, topic)
47
 
48
  return f"File processed successfully! file saved to the database."
49
  except Exception as e:
 
43
 
44
  # Spl
45
  # Save chunks to database
46
+ save_to_db([text], topic)
47
 
48
  return f"File processed successfully! file saved to the database."
49
  except Exception as e: