iShare commited on
Commit
aec9d8a
1 Parent(s): 6351d67

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -58,5 +58,8 @@ async def upload_file(username: str, file_to_process: FileToProcess = Depends())
58
  raw_text += text
59
  temp_texts = text_splitter.split_text(raw_text)
60
  print(temp_texts)
 
 
61
 
62
- return {"INFO": f"File '{uploaded_file.filename}' saved to your profile."}
 
 
58
  raw_text += text
59
  temp_texts = text_splitter.split_text(raw_text)
60
  print(temp_texts)
61
+ api_call_msg={"INFO": f"File '{uploaded_file.filename}' saved to your profile."}
62
+ print(api_call_msg)
63
 
64
+ #return {"INFO": f"File '{uploaded_file.filename}' saved to your profile."}
65
+ return api_call_msg