Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,9 @@ def initialize_environment():
|
|
34 |
handlers=[
|
35 |
logging.FileHandler(log_file),
|
36 |
logging.StreamHandler()
|
37 |
-
]
|
38 |
)
|
|
|
39 |
# Set up global exception handler
|
40 |
def handle_exception(exc_type, exc_value, exc_traceback):
|
41 |
if issubclass(exc_type, KeyboardInterrupt):
|
|
|
34 |
handlers=[
|
35 |
logging.FileHandler(log_file),
|
36 |
logging.StreamHandler()
|
37 |
+
]
|
38 |
)
|
39 |
+
|
40 |
# Set up global exception handler
|
41 |
def handle_exception(exc_type, exc_value, exc_traceback):
|
42 |
if issubclass(exc_type, KeyboardInterrupt):
|