Final fix: Remove disabled parameter from gr.Button for full Gradio 4.44.1 compatibility
Browse files
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.
|
| 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"
|
| 367 |
-
stop_btn = gr.Button("⏹️ Stop Training", variant="stop"
|
| 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")
|