from pandas import DataFrame from src.application.config import WORD_BREAK from src.application.image.image import ImageDetector from src.application.text.text import TextDetector def create_ordinary_user_table( aligned_sentences_df: DataFrame, text: TextDetector, image: ImageDetector, ) -> str: rows = [] rows.append(format_image_ordinary_user_row(image)) rows.append(format_text_ordinary_user_row(aligned_sentences_df, text)) table = "\n".join(rows) return f"""
Input news | Forensic | Originality |
---|