Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -455,67 +455,7 @@ def process_hdf5_file(uploaded_file, percentage):
|
|
455 |
sys.stdout = sys.__stdout__ # Reset print statements
|
456 |
|
457 |
######################## Define the Gradio interface ###############################
|
458 |
-
#with gr.Blocks(css="""
|
459 |
-
# .slider-container {
|
460 |
-
# display: inline-block;
|
461 |
-
# margin-right: 50px;
|
462 |
-
# text-align: center;
|
463 |
-
# }
|
464 |
with gr.Blocks(css="""
|
465 |
-
/* Dark mode styles */
|
466 |
-
body {
|
467 |
-
background-color: #1e1e1e;
|
468 |
-
color: #f0f0f0;
|
469 |
-
}
|
470 |
-
|
471 |
-
.gradio-container {
|
472 |
-
background-color: #1e1e1e;
|
473 |
-
color: white;
|
474 |
-
}
|
475 |
-
|
476 |
-
input, select, textarea, .gr-slider .noUi-target {
|
477 |
-
background-color: #2b2b2b;
|
478 |
-
color: white;
|
479 |
-
border: 1px solid #333;
|
480 |
-
}
|
481 |
-
|
482 |
-
.gr-slider .noUi-handle {
|
483 |
-
background-color: #444;
|
484 |
-
border: 1px solid #888;
|
485 |
-
}
|
486 |
-
|
487 |
-
.gr-slider .noUi-connect {
|
488 |
-
background-color: #555;
|
489 |
-
}
|
490 |
-
|
491 |
-
.gr-button, button {
|
492 |
-
background-color: #333;
|
493 |
-
color: white;
|
494 |
-
border: 1px solid #555;
|
495 |
-
}
|
496 |
-
|
497 |
-
.gr-button:hover, button:hover {
|
498 |
-
background-color: #555;
|
499 |
-
}
|
500 |
-
|
501 |
-
/* Style for dropdowns */
|
502 |
-
select {
|
503 |
-
background-color: #333;
|
504 |
-
color: white;
|
505 |
-
border: 1px solid #555;
|
506 |
-
}
|
507 |
-
|
508 |
-
/* Dark mode sliders */
|
509 |
-
.noUi-connect {
|
510 |
-
background-color: #555; /* Line connecting slider handles */
|
511 |
-
}
|
512 |
-
|
513 |
-
.noUi-horizontal .noUi-handle {
|
514 |
-
background-color: #666; /* Handles */
|
515 |
-
border: 1px solid #888;
|
516 |
-
}
|
517 |
-
|
518 |
-
/* Style the slider containers */
|
519 |
.slider-container {
|
520 |
display: inline-block;
|
521 |
margin-right: 50px;
|
|
|
455 |
sys.stdout = sys.__stdout__ # Reset print statements
|
456 |
|
457 |
######################## Define the Gradio interface ###############################
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
with gr.Blocks(css="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
.slider-container {
|
460 |
display: inline-block;
|
461 |
margin-right: 50px;
|