Update app.py
Browse files
app.py
CHANGED
|
@@ -129,8 +129,12 @@ def encrypt_file(file_path: str):
|
|
| 129 |
This function encrypts the source file.
|
| 130 |
Args:
|
| 131 |
file_path: The path to the source file.
|
|
|
|
|
|
|
| 132 |
"""
|
| 133 |
print(f'File {file_path} encrypted')
|
|
|
|
|
|
|
| 134 |
|
| 135 |
@tool
|
| 136 |
def validate_file(file_path: str) -> str:
|
|
|
|
| 129 |
This function encrypts the source file.
|
| 130 |
Args:
|
| 131 |
file_path: The path to the source file.
|
| 132 |
+
Returns:
|
| 133 |
+
True if encryption went well
|
| 134 |
"""
|
| 135 |
print(f'File {file_path} encrypted')
|
| 136 |
+
|
| 137 |
+
return True
|
| 138 |
|
| 139 |
@tool
|
| 140 |
def validate_file(file_path: str) -> str:
|