lemms commited on
Commit
a5bea75
·
verified ·
1 Parent(s): 1dcba13

Final fix: Remove disabled parameter from gr.Button for full Gradio 4.44.1 compatibility

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,7 +8,7 @@ the results to Hugging Face Hub. Final version with full Gradio 4.44.1 compatibi
8
 
9
  Author: Louis Chua Bean Chong
10
  License: GPL-3.0
11
- Version: 2.0.3
12
  Last Updated: 2024
13
  """
14
 
@@ -361,10 +361,10 @@ def main():
361
  label="Training Progress"
362
  )
363
 
364
- # Training Control Buttons
365
  with gr.Row():
366
- start_btn = gr.Button("🚀 Start Training", variant="primary", disabled=not TRAINING_AVAILABLE)
367
- stop_btn = gr.Button("⏹️ Stop Training", variant="stop", disabled=not TRAINING_AVAILABLE)
368
 
369
  # Instructions Section
370
  gr.Markdown("## 📋 Complete Training Instructions")
 
8
 
9
  Author: Louis Chua Bean Chong
10
  License: GPL-3.0
11
+ Version: 2.0.4
12
  Last Updated: 2024
13
  """
14
 
 
361
  label="Training Progress"
362
  )
363
 
364
+ # Training Control Buttons - Removed disabled parameter for compatibility
365
  with gr.Row():
366
+ start_btn = gr.Button("🚀 Start Training", variant="primary")
367
+ stop_btn = gr.Button("⏹️ Stop Training", variant="stop")
368
 
369
  # Instructions Section
370
  gr.Markdown("## 📋 Complete Training Instructions")