@undetected-selenium answer works for me but i used join() function instead of string concatenation to solve the File not found exception.
file_paths = [] #array of file paths
combined_paths = "\n".join(file_paths)
driver.FindElementById("upload1").send_keys(combined_paths)