Fixing Errors - WIP - Making improvements, content workflows

This commit is contained in:
ajaysi
2024-09-13 19:41:48 +05:30
parent ca8618a6a4
commit 52753901f1
11 changed files with 159 additions and 26 deletions

View File

@@ -4,7 +4,6 @@ import sys
import re
import json
from pathlib import Path
import streamlit as st
from datetime import datetime, timedelta
from pathlib import Path
from loguru import logger
@@ -93,7 +92,6 @@ def save_in_file(table_content):
try:
# Save the content to the file
with open(file_path, "a+", encoding="utf-8") as file:
st.write(table_content)
file.write(table_content)
file.write("\n" * 3) # Add three newlines at the end
logger.info(f"Search content saved to {file_path}")