Reyad-Ahmmed commited on
Commit
53a3e69
·
verified ·
1 Parent(s): de8d486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -176,7 +176,7 @@ if (runModel=='1'):
176
  model_path = './' + modelNameToUse + '_model'
177
  tokenizer_path = './' + modelNameToUse + '_tokenizer'
178
 
179
- if os.path.isdir(model_path) && os.path.isdir(tokenizer_path):
180
  print(f"The directory of model {model_path} exists.")
181
  print("Directory contents:", os.listdir(model_path))
182
 
 
176
  model_path = './' + modelNameToUse + '_model'
177
  tokenizer_path = './' + modelNameToUse + '_tokenizer'
178
 
179
+ if os.path.isdir(model_path) and os.path.isdir(tokenizer_path):
180
  print(f"The directory of model {model_path} exists.")
181
  print("Directory contents:", os.listdir(model_path))
182