Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -207,12 +207,26 @@ A culturally authentic and conversational response to the question: '{question}'
|
|
| 207 |
|
| 208 |
# MAIN
|
| 209 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
Config.load_environment(".", "genz.dev1")
|
|
|
|
|
|
|
| 211 |
Config.print_environment()
|
| 212 |
|
|
|
|
| 213 |
processor_llm = get_processor_llm_instance()
|
| 214 |
-
|
| 215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
# Load all user profiles from the Excel file
|
| 217 |
data_dictionary = DataDictionary.generate_dictionary(Config.data_dictionary_file)
|
| 218 |
print(f"Generated data dictionary: {data_dictionary}")
|
|
|
|
| 207 |
|
| 208 |
# MAIN
|
| 209 |
if __name__ == "__main__":
|
| 210 |
+
# Config.load_environment(".", "genz.dev1")
|
| 211 |
+
# Config.print_environment()
|
| 212 |
+
|
| 213 |
+
# processor_llm = get_processor_llm_instance()
|
| 214 |
+
# respondent_agent_llm = get_respondent_agent_llm_instance()
|
| 215 |
+
|
| 216 |
+
logger.info("Loading environment...")
|
| 217 |
Config.load_environment(".", "genz.dev1")
|
| 218 |
+
|
| 219 |
+
logger.info("Environment loaded. Printing environment:")
|
| 220 |
Config.print_environment()
|
| 221 |
|
| 222 |
+
logger.info("Initializing processor_llm...")
|
| 223 |
processor_llm = get_processor_llm_instance()
|
| 224 |
+
logger.info("processor_llm initialized.")
|
| 225 |
|
| 226 |
+
logger.info("Initializing respondent_agent_llm...")
|
| 227 |
+
respondent_agent_llm = get_respondent_agent_llm_instance()
|
| 228 |
+
logger.info("respondent_agent_llm initialised.")
|
| 229 |
+
|
| 230 |
# Load all user profiles from the Excel file
|
| 231 |
data_dictionary = DataDictionary.generate_dictionary(Config.data_dictionary_file)
|
| 232 |
print(f"Generated data dictionary: {data_dictionary}")
|