Spaces:
Sleeping
Sleeping
File size: 397 Bytes
e58707f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import pandas as pd
class TextDetector:
def __init__(self):
self.prediction_label: list[str] = ["UNKNOWN"]
self.prediction_score: list[float] = [0.0]
self.grouped_url_df: pd.DataFrame = pd.DataFrame()
# For formatting ouput tables
self.ordinary_user_table: list = []
self.fact_checker_table: list = []
self.governor_table: list = []
|