fixed imports
This commit is contained in:
@@ -7,7 +7,7 @@ from pathlib import Path
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from core.database import connect
|
||||
from core.database import upsert_predictions
|
||||
from core.database import upsert_prediction
|
||||
from core.database.classes import VisualCommunication
|
||||
|
||||
if __name__ == '__main__':
|
||||
@@ -45,7 +45,7 @@ if __name__ == '__main__':
|
||||
for vis_com in vis_com_list:
|
||||
if vis_com.prediction is None:
|
||||
continue
|
||||
upsert_predictions(
|
||||
upsert_prediction(
|
||||
collection=collection,
|
||||
vis_com_name=vis_com.name,
|
||||
predictions=vis_com.prediction,
|
||||
|
||||
Reference in New Issue
Block a user