Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,9 +43,10 @@ with gr.Blocks() as interface:
|
|
| 43 |
file_upload = gr.File(label="π Or Upload CSV/Excel File", file_types=[".csv", ".xlsx"], interactive=True)
|
| 44 |
|
| 45 |
with gr.Row():
|
| 46 |
-
run_button = gr.Button("π Submit and Classify")
|
| 47 |
-
stop_button = gr.Button("β Stop Batch", visible=True)
|
| 48 |
-
reset_button = gr.Button("π Reset")
|
|
|
|
| 49 |
|
| 50 |
status = gr.Markdown(visible=False)
|
| 51 |
|
|
@@ -842,6 +843,20 @@ with gr.Blocks() as interface:
|
|
| 842 |
a {
|
| 843 |
color: #4ea1f3 !important;
|
| 844 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 845 |
</style>
|
| 846 |
""")
|
| 847 |
|
|
|
|
| 43 |
file_upload = gr.File(label="π Or Upload CSV/Excel File", file_types=[".csv", ".xlsx"], interactive=True)
|
| 44 |
|
| 45 |
with gr.Row():
|
| 46 |
+
run_button = gr.Button("π Submit and Classify", elem_id="run-btn")
|
| 47 |
+
stop_button = gr.Button("β Stop Batch", visible=True, elem_id="stop-btn")
|
| 48 |
+
reset_button = gr.Button("π Reset", elem_id="reset-btn")
|
| 49 |
+
|
| 50 |
|
| 51 |
status = gr.Markdown(visible=False)
|
| 52 |
|
|
|
|
| 843 |
a {
|
| 844 |
color: #4ea1f3 !important;
|
| 845 |
}
|
| 846 |
+
|
| 847 |
+
/* Shared hover style for the three main buttons */
|
| 848 |
+
#run-btn:hover, #stop-btn:hover, #reset-btn:hover {
|
| 849 |
+
border-color: white !important;
|
| 850 |
+
box-shadow: 0 0 5px white;
|
| 851 |
+
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
| 852 |
+
}
|
| 853 |
+
|
| 854 |
+
/* Active click style */
|
| 855 |
+
#run-btn:active, #stop-btn:active, #reset-btn:active {
|
| 856 |
+
border-color: white !important;
|
| 857 |
+
box-shadow: 0 0 5px white inset;
|
| 858 |
+
}
|
| 859 |
+
|
| 860 |
</style>
|
| 861 |
""")
|
| 862 |
|