Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|