Sadjad Alikhani commited on
Commit
3d0b315
·
verified ·
1 Parent(s): da6267a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +34 -0
app.py CHANGED
@@ -459,12 +459,46 @@ def process_hdf5_file(uploaded_file, percentage):
459
  sys.stdout = sys.__stdout__ # Reset print statements
460
 
461
  ######################## Define the Gradio interface ###############################
 
 
 
 
 
 
462
  with gr.Blocks(css="""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  .slider-container {
464
  display: inline-block;
465
  margin-right: 50px;
466
  text-align: center;
467
  }
 
468
  """) as demo:
469
 
470
  # Tab for Beam Prediction Task
 
459
  sys.stdout = sys.__stdout__ # Reset print statements
460
 
461
  ######################## Define the Gradio interface ###############################
462
+ #with gr.Blocks(css="""
463
+ # .slider-container {
464
+ # display: inline-block;
465
+ # margin-right: 50px;
466
+ # text-align: center;
467
+ # }
468
  with gr.Blocks(css="""
469
+ /* Dark mode styles */
470
+ body {
471
+ background-color: #1e1e1e;
472
+ color: #f0f0f0;
473
+ }
474
+
475
+ .gradio-container {
476
+ background-color: #1e1e1e;
477
+ color: white;
478
+ }
479
+
480
+ input, select, textarea {
481
+ background-color: #2b2b2b;
482
+ color: white;
483
+ border: 1px solid #333;
484
+ }
485
+
486
+ button {
487
+ background-color: #333;
488
+ color: white;
489
+ border: 1px solid #555;
490
+ }
491
+
492
+ button:hover {
493
+ background-color: #555;
494
+ }
495
+
496
  .slider-container {
497
  display: inline-block;
498
  margin-right: 50px;
499
  text-align: center;
500
  }
501
+
502
  """) as demo:
503
 
504
  # Tab for Beam Prediction Task