Spaces:
Runtime error
Runtime error
from textclassifier import TextClassifier as tc | |
def main(): | |
""" | |
Main function. Runs the program. | |
:return: None | |
""" | |
from_date = input("Enter from date (YYYY-MM-DD): ") | |
to_date = input("Enter to date (YYYY-MM-DD): ") | |
user_name = input("Enter user name: ") | |
text_classifier = tc.TextClassifier(from_date=from_date, to_date=to_date, user_name=user_name, num_tweets=20) | |
text_classifier.run_main_pipeline() |