mnoorchenar commited on
Commit
ea41f1e
·
1 Parent(s): 43e66de

Update 2026-01-30 09:03:30

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,7 +51,7 @@ def load_table(category_filter, section_filter, title_filter):
51
 
52
  query = """
53
  SELECT id, category, section, title, content,
54
- datetime(updated_at, 'localtime') as update
55
  FROM items WHERE 1=1
56
  """
57
  params = []
@@ -123,7 +123,7 @@ def get_char_count(text):
123
  init_db()
124
 
125
  # UI
126
- with gr.Blocks(title="Text Archive", theme=gr.themes.Soft()) as app:
127
  gr.Markdown("# 📝 Simple Text Archive")
128
 
129
  # Add Form
 
51
 
52
  query = """
53
  SELECT id, category, section, title, content,
54
+ datetime(updated_at, 'localtime') as updated
55
  FROM items WHERE 1=1
56
  """
57
  params = []
 
123
  init_db()
124
 
125
  # UI
126
+ with gr.Blocks(title="Text Archive") as app:
127
  gr.Markdown("# 📝 Simple Text Archive")
128
 
129
  # Add Form