Spaces:
Running
Running
from chatbot import ChatBotManager | |
def main(): | |
chatbot_manager = ChatBotManager() | |
available_model_types = chatbot_manager.get_available_model_types() | |
for current_model_type_aux in available_model_types: | |
print(f'Test with model [{current_model_type_aux}]...') | |
user_message = 'How are you?' | |
history = [] | |
result = chatbot_manager.obtain_answer(user_message, history, current_model_type_aux) | |
print('Result: ', result) | |
main() | |