bep40 commited on
Commit
24da3f2
Β·
verified Β·
1 Parent(s): 746c6f2

Fix: move _ensure_main_dataset_schema call after function definition

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -85,9 +85,6 @@ def _save_proxy_spaces():
85
 
86
  _load_proxy_spaces()
87
 
88
- # ─── Initialize main dataset schema on startup ───
89
- _ensure_main_dataset_schema()
90
-
91
 
92
  def _save_chat_id(cid: str, sender_id: str):
93
  if cid:
@@ -1921,6 +1918,10 @@ def get_dataset_info():
1921
  return info
1922
 
1923
 
 
 
 
 
1924
  with gr.Blocks(title="Zalo Bot Webhook") as demo:
1925
  gr.Markdown("# Zalo Bot Webhook Setup")
1926
  with gr.Tabs():
 
85
 
86
  _load_proxy_spaces()
87
 
 
 
 
88
 
89
  def _save_chat_id(cid: str, sender_id: str):
90
  if cid:
 
1918
  return info
1919
 
1920
 
1921
+ # ─── Initialize main dataset schema on startup ───
1922
+ _ensure_main_dataset_schema()
1923
+
1924
+
1925
  with gr.Blocks(title="Zalo Bot Webhook") as demo:
1926
  gr.Markdown("# Zalo Bot Webhook Setup")
1927
  with gr.Tabs():