abdeljalilELmajjodi commited on
Commit
ef2634b
·
verified ·
1 Parent(s): 24e45b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -13,6 +13,15 @@ from datetime import datetime
13
  import logging
14
 
15
 
 
 
 
 
 
 
 
 
 
16
  # Configure logging
17
  logging.basicConfig(
18
  level=logging.INFO,
 
13
  import logging
14
 
15
 
16
+ file_path = ".gradio/cached_examples/41/log.csv"
17
+
18
+ # Check if the file exists before removing
19
+ if os.path.exists(file_path):
20
+ os.remove(file_path)
21
+ print(f"Removed: {file_path}")
22
+ else:
23
+ print(f"File does not exist: {file_path}")
24
+
25
  # Configure logging
26
  logging.basicConfig(
27
  level=logging.INFO,