Pointf5ive commited on
Commit
9556658
Β·
1 Parent(s): c4147bf

Fix Gradio 6 compatibility: css/head to launch(), remove show_download_button

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. smoke_signal_tab.py +0 -1
app.py CHANGED
@@ -1176,7 +1176,7 @@ def single_score(active_path, sequence, stanza_id, draft_pass, clarity, rhythm,
1176
 
1177
  # ── GRADIO INTERFACE ──────────────────────────────────────────────────────────
1178
 
1179
- with gr.Blocks(title="TOTEM Studio", css=CSS + SS_CSS, head=HEAD) as demo:
1180
  active_path = gr.State(str(DEFAULT_WORKBOOK))
1181
  log_state = gr.State(pd.DataFrame(columns=LOG_COLUMNS))
1182
 
@@ -1389,4 +1389,4 @@ with gr.Blocks(title="TOTEM Studio", css=CSS + SS_CSS, head=HEAD) as demo:
1389
 
1390
 
1391
  if __name__ == "__main__":
1392
- demo.launch(ssr_mode=False)
 
1176
 
1177
  # ── GRADIO INTERFACE ──────────────────────────────────────────────────────────
1178
 
1179
+ with gr.Blocks(title="TOTEM Studio") as demo:
1180
  active_path = gr.State(str(DEFAULT_WORKBOOK))
1181
  log_state = gr.State(pd.DataFrame(columns=LOG_COLUMNS))
1182
 
 
1389
 
1390
 
1391
  if __name__ == "__main__":
1392
+ demo.launch(ssr_mode=False, css=CSS + SS_CSS, head=HEAD)
smoke_signal_tab.py CHANGED
@@ -1207,7 +1207,6 @@ def smoke_signal_tab():
1207
  label="Page Render",
1208
  type="filepath",
1209
  height=420,
1210
- show_download_button=False,
1211
  )
1212
  item_info = gr.HTML()
1213
 
 
1207
  label="Page Render",
1208
  type="filepath",
1209
  height=420,
 
1210
  )
1211
  item_info = gr.HTML()
1212