Spaces:
Sleeping
Sleeping
GVAmaresh
commited on
Commit
·
2c526e8
1
Parent(s):
1acb968
dev: check working
Browse files
app.py
CHANGED
@@ -180,3 +180,13 @@ try:
|
|
180 |
print(f"File downloaded successfully to: {output_path}")
|
181 |
except Exception as e:
|
182 |
print(f"Error downloading file: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
print(f"File downloaded successfully to: {output_path}")
|
181 |
except Exception as e:
|
182 |
print(f"Error downloading file: {e}")
|
183 |
+
|
184 |
+
#-----------------------------------------------------------------------------------------
|
185 |
+
|
186 |
+
output_file = "file.h5"
|
187 |
+
file_path = os.path.join(output_dir, output_file)
|
188 |
+
|
189 |
+
if os.path.exists(file_path):
|
190 |
+
print(f"The file '{output_file}' exists at '{file_path}'.")
|
191 |
+
else:
|
192 |
+
print(f"The file '{output_file}' does not exist at '{file_path}'.")
|