Threatthriver commited on
Commit
3b51500
·
verified ·
1 Parent(s): 96cc739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -90,8 +90,7 @@ def upload_shard(file_obj):
90
  # ==========================================
91
 
92
  def build_interface():
93
- # REMOVED: theme=gr.themes.Monochrome() to resolve TypeError in this runtime environment
94
- # The 'theme' argument was conflicting with the BlockContext initialization in the current Gradio version.
95
  with gr.Blocks(title="System Sync Daemon") as demo:
96
 
97
  gr.Markdown("## 🔒 SYSTEM SYNC DAEMON [COMPRESSED]")
@@ -107,10 +106,10 @@ def build_interface():
107
  execute_btn = gr.Button("Execute Sync", variant="primary")
108
 
109
  with gr.Column():
 
110
  output_log = gr.Textbox(
111
  label="Allocation Stream URL",
112
- interactive=False,
113
- show_copy_button=True
114
  )
115
 
116
  # --- API BINDING ---
 
90
  # ==========================================
91
 
92
  def build_interface():
93
+ # REMOVED: theme argument (caused compatibility issues)
 
94
  with gr.Blocks(title="System Sync Daemon") as demo:
95
 
96
  gr.Markdown("## 🔒 SYSTEM SYNC DAEMON [COMPRESSED]")
 
106
  execute_btn = gr.Button("Execute Sync", variant="primary")
107
 
108
  with gr.Column():
109
+ # REMOVED: show_copy_button=True (caused TypeError in this environment)
110
  output_log = gr.Textbox(
111
  label="Allocation Stream URL",
112
+ interactive=False
 
113
  )
114
 
115
  # --- API BINDING ---