Skip to content

Commit

Permalink
Formatet app
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Oct 25, 2023
1 parent 6c2a565 commit 25fa374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/src/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def run_model(
if os.path.exists("./result/"):
shutil.rmtree("./result/")

patient_directory = ''
output_path = ''
patient_directory = ""
output_path = ""
try:
# setup temporary patient directory
filename = input_path.split("/")[-1]
Expand Down Expand Up @@ -94,7 +94,7 @@ def run_model(
shutil.rmtree(patient_directory)
if os.path.exists(output_path):
shutil.rmtree(output_path)
except Exception as e:
except Exception:
print(traceback.format_exc())
# Clean-up
if os.path.exists(patient_directory):
Expand Down

0 comments on commit 25fa374

Please sign in to comment.