mitulagr2 commited on
Commit
09eb2ef
1 Parent(s): 1851012
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -39,7 +39,7 @@ def upload(files: list[UploadFile]):
39
  session_messages = []
40
 
41
  try:
42
- os.mkdir("~/wtp_be_files/")
43
  for file in files:
44
  try:
45
  file.file.seek(0)
 
39
  session_messages = []
40
 
41
  try:
42
+ os.makedirs("~/wtp_be_files/")
43
  for file in files:
44
  try:
45
  file.file.seek(0)