Skip to content

Commit

Permalink
Catch up commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JetamZ committed Nov 4, 2024
1 parent 73ac17b commit 02db9e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions MetadataExtraction/speechParser2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api/Server2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 02db9e2

Please sign in to comment.