Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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
|