Skip to content

Commit

Permalink
return to menu if invalid model name is given
Browse files Browse the repository at this point in the history
Signed-off-by: Lucca Baumgärtner <lucca.baumgaertner@fau.de>
  • Loading branch information
luccalb committed Feb 5, 2024
1 parent 5dad860 commit c718b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/demo/demos.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ def check_classification_task(string):
log.info(f"Loaded the model from the local path sucessfully!")
except:
log.error("No model found with the given name!")
return

if S3_bool:
data_path = (
Expand Down

0 comments on commit c718b1b

Please sign in to comment.