AnthonyErosion commited on
Commit
5f5751b
·
verified ·
1 Parent(s): 3f03951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from tensorflow.keras.models import load_model # type: ignore
11
  def Get_Information(index, class_name):
12
  train_dir = 'Datasets'
13
 
14
- info_file_path = os.path.join(train_dir, index, 'information.text')
15
 
16
  if os.path.exists(info_file_path):
17
  with open(info_file_path, 'r', encoding='utf-8') as f:
 
11
  def Get_Information(index, class_name):
12
  train_dir = 'Datasets'
13
 
14
+ info_file_path = os.path.join(train_dir, str(index), 'information.text')
15
 
16
  if os.path.exists(info_file_path):
17
  with open(info_file_path, 'r', encoding='utf-8') as f: