Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -61,10 +61,13 @@ async def upload_file(username: str, file_to_process: FileToProcess = Depends())
|
|
| 61 |
print(temp_texts)
|
| 62 |
print()
|
| 63 |
|
| 64 |
-
api_call_msg={"INFO": f"File '{uploaded_file.filename}' saved to your profile."}
|
|
|
|
| 65 |
print(api_call_msg)
|
| 66 |
|
| 67 |
print(api_call_msg["INFO"])
|
|
|
|
|
|
|
| 68 |
|
| 69 |
print("API call finished...")
|
| 70 |
|
|
|
|
| 61 |
print(temp_texts)
|
| 62 |
print()
|
| 63 |
|
| 64 |
+
#api_call_msg={"INFO": f"File '{uploaded_file.filename}' saved to your profile."}
|
| 65 |
+
api_call_msg={"INFO": f"File '{file_saved_in_api}' saved to your profile."}
|
| 66 |
print(api_call_msg)
|
| 67 |
|
| 68 |
print(api_call_msg["INFO"])
|
| 69 |
+
#File 'uploaded_file' saved to your profile.
|
| 70 |
+
print()
|
| 71 |
|
| 72 |
print("API call finished...")
|
| 73 |
|