Update app.py
Browse files
app.py
CHANGED
|
@@ -90,8 +90,7 @@ def upload_shard(file_obj):
|
|
| 90 |
# ==========================================
|
| 91 |
|
| 92 |
def build_interface():
|
| 93 |
-
# REMOVED: theme
|
| 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 ---
|