X-iZhang commited on
Commit
813981a
·
verified ·
1 Parent(s): a3e3b6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -94,8 +94,7 @@ def main():
94
  help="User-specified model path. If not provided, only default model is shown."
95
  )
96
  args = parser.parse_args()
97
- cmd_model_path = args.model_path
98
-
99
 
100
  model_paths_dict = {}
101
 
 
94
  help="User-specified model path. If not provided, only default model is shown."
95
  )
96
  args = parser.parse_args()
97
+ cmd_model_paths = args.model_path if isinstance(args.model_path, list) else [args.model_path]
 
98
 
99
  model_paths_dict = {}
100