tl-its-umich-edu / annoto-gai

This is Github Project to Annoto GAI work
0 stars 2 forks source link

Fixing Loading and Saving Bugs in `questionGenerator.py` #23

Closed takposha closed 4 months ago

takposha commented 4 months ago

Assuming that the data is already saved to local storage, it should be possible to retrieve Question data without needing to initialize or process the topic model data or even actually retrieve the transcript.

Currently, there is a bug in the code where data is not passed correctly when loading generated question data as well.

Overall, the functions should be able to check for saved data and retrieve them as needed without needlessly initializing other parts of the pipeline, and raising Errors accordingly if the data isn't present.