bla commited on
Commit
583f924
1 Parent(s): bb2cbff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,5 +1,12 @@
1
  import subprocess
 
2
 
 
 
 
 
 
 
3
 
4
  def run_command(command):
5
  try:
 
1
  import subprocess
2
+ import logging
3
 
4
+ # Configure logging
5
+ logging.basicConfig(
6
+ level=logging.DEBUG,
7
+ format='%(asctime)s - %(levelname)s - %(message)s',
8
+ datefmt='%Y-%m-%d %H:%M:%S'
9
+ )
10
 
11
  def run_command(command):
12
  try: