diff --git a/MetadataExtraction/speechParser2.py b/MetadataExtraction/speechParser2.py index 0e46e46..5c7bc37 100644 --- a/MetadataExtraction/speechParser2.py +++ b/MetadataExtraction/speechParser2.py @@ -122,10 +122,10 @@ def __processSpeechesCSV(self, invalid_speeches): if row['ID'] not in invalid_speeches: if (len(timestamps_info) > 0): utterance.loadTimestampsInfo(timestamps_info[current_speech]) - if (not row["personID"] in result): - result[row["personID"]] = [utterance] - else: - result[row["personID"]].append(utterance) + if (not row["personID"] in result): + result[row["personID"]] = [utterance] + else: + result[row["personID"]].append(utterance) current_speech += 1 return result diff --git a/api/Server2_1.py b/api/Server2_1.py index 978b91e..9fafe0e 100644 --- a/api/Server2_1.py +++ b/api/Server2_1.py @@ -37,7 +37,7 @@ def loads(self, s : str | bytes, **kwargs): args_parser = ArgumentParser() -args_parser.add_argument("--db", type=str, default="../DatabaseCommunication/databaseCS.ini", help="connection parameters") +args_parser.add_argument("--db", type=str, default="../DatabaseCommunication/", help="connection parameters") args = args_parser.parse_args()