DeepBeepMeep commited on
Commit
d290612
·
2 Parent(s): 3032e80 6d75c30

Merge branch 'dev' of https://github.com/deepbeepmeep/Wan2GP into dev

Browse files
Files changed (1) hide show
  1. gradio_server.py +88 -106
gradio_server.py CHANGED
@@ -3262,112 +3262,94 @@ def create_demo():
3262
  overflow: hidden;
3263
  text-overflow: ellipsis;
3264
  }
3265
- # #queue_df td:nth-child(-n+5) {
3266
- # cursor: default !important;
3267
- # pointer-events: none;
3268
- # }
3269
- # #queue_df td:nth-child(6) {
3270
- # cursor: default !important;
3271
- # }
3272
- # #queue_df th {
3273
- # pointer-events: none;
3274
- # text-align: center;
3275
- # vertical-align: middle;
3276
- # }
3277
- # #queue_df table {
3278
- # width: 100%;
3279
- # overflow: hidden !important;
3280
- # }
3281
- # #queue_df::-webkit-scrollbar {
3282
- # display: none !important;
3283
- # }
3284
- # #queue_df {
3285
- # scrollbar-width: none !important;
3286
- # -ms-overflow-style: none !important;
3287
- # }
3288
- # #queue_df th:nth-child(1),
3289
- # #queue_df td:nth-child(1) {
3290
- # width: 90px;
3291
- # text-align: center;
3292
- # vertical-align: middle;
3293
- # }
3294
- # #queue_df th:nth-child(1) {
3295
- # font-size: 0.8em;
3296
- # }
3297
- # #queue_df th:nth-child(2),
3298
- # #queue_df td:nth-child(2) {
3299
- # width: 85px;
3300
- # text-align: center;
3301
- # vertical-align: middle;
3302
- # }
3303
- # #queue_df th:nth-child(2) {
3304
- # font-size: 0.5em;
3305
- # }
3306
- # #queue_df th:nth-child(3),
3307
- # #queue_df td:nth-child(3) {
3308
- # width: 75px;
3309
- # text-align: center;
3310
- # vertical-align: middle;
3311
- # }
3312
- # #queue_df th:nth-child(3) {
3313
- # font-size: 0.6em;
3314
- # }
3315
- # #queue_df th:nth-child(4),
3316
- # #queue_df td:nth-child(4) {
3317
- # width: 65px;
3318
- # text-align: center;
3319
- # white-space: nowrap;
3320
- # }
3321
- # #queue_df th:nth-child(4) {
3322
- # font-size: 0.9em;
3323
- # }
3324
- # #queue_df th:nth-child(5),
3325
- # #queue_df td:nth-child(5) {
3326
- # width: 60px;
3327
- # text-align: center;
3328
- # white-space: nowrap;
3329
- # }
3330
- # #queue_df th:nth-child(6),
3331
- # #queue_df td:nth-child(6) {
3332
- # width: auto;
3333
- # text-align: center;
3334
- # white-space: normal;
3335
- # }
3336
- # #queue_df th:nth-child(6) {
3337
- # font-size: 0.8em;
3338
- # }
3339
- # #queue_df th:nth-child(7), #queue_df td:nth-child(7),
3340
- # #queue_df th:nth-child(8), #queue_df td:nth-child(8) {
3341
- # width: 60px;
3342
- # text-align: center;
3343
- # vertical-align: middle;
3344
- # }
3345
- # #queue_df td:nth-child(7) img,
3346
- # #queue_df td:nth-child(8) img {
3347
- # max-width: 50px;
3348
- # max-height: 50px;
3349
- # object-fit: contain;
3350
- # display: block;
3351
- # margin: auto;
3352
- # cursor: pointer;
3353
- # }
3354
- # #queue_df th:nth-child(9), #queue_df td:nth-child(9),
3355
- # #queue_df th:nth-child(10), #queue_df td:nth-child(10),
3356
- # #queue_df th:nth-child(11), #queue_df td:nth-child(11) {
3357
- # width: 20px;
3358
- # padding: 2px !important;
3359
- # cursor: pointer;
3360
- # text-align: center;
3361
- # font-weight: bold;
3362
- # vertical-align: middle;
3363
- # }
3364
- # #queue_df td:nth-child(7):hover,
3365
- # #queue_df td:nth-child(8):hover,
3366
- # #queue_df td:nth-child(9):hover,
3367
- # #queue_df td:nth-child(10):hover,
3368
- # #queue_df td:nth-child(11):hover {
3369
- # background-color: #e0e0e0;
3370
- # }
3371
  #image-modal-container {
3372
  position: fixed;
3373
  top: 0;
 
3262
  overflow: hidden;
3263
  text-overflow: ellipsis;
3264
  }
3265
+ #queue_df th {
3266
+ pointer-events: none;
3267
+ text-align: center;
3268
+ vertical-align: middle;
3269
+ }
3270
+ #queue_df table {
3271
+ width: 100%;
3272
+ overflow: hidden !important;
3273
+ }
3274
+ #queue_df::-webkit-scrollbar {
3275
+ display: none !important;
3276
+ }
3277
+ #queue_df {
3278
+ scrollbar-width: none !important;
3279
+ -ms-overflow-style: none !important;
3280
+ }
3281
+ .selection-button {
3282
+ display: none;
3283
+ }
3284
+ .cell-selected {
3285
+ --ring-color: none;
3286
+ }
3287
+ #queue_df th:nth-child(1),
3288
+ #queue_df td:nth-child(1) {
3289
+ width: 60px;
3290
+ text-align: center;
3291
+ vertical-align: middle;
3292
+ cursor: default !important;
3293
+ pointer-events: none;
3294
+ }
3295
+ #queue_df th:nth-child(2),
3296
+ #queue_df td:nth-child(2) {
3297
+ width: auto;
3298
+ text-align: center;
3299
+ vertical-align: middle;
3300
+ white-space: normal;
3301
+ }
3302
+ #queue_df td:nth-child(2) {
3303
+ cursor: default !important;
3304
+ }
3305
+ #queue_df th:nth-child(3),
3306
+ #queue_df td:nth-child(3) {
3307
+ width: 60px;
3308
+ text-align: center;
3309
+ vertical-align: middle;
3310
+ cursor: default !important;
3311
+ pointer-events: none;
3312
+ }
3313
+ #queue_df th:nth-child(4),
3314
+ #queue_df td:nth-child(4) {
3315
+ width: 60px;
3316
+ text-align: center;
3317
+ white-space: nowrap;
3318
+ cursor: default !important;
3319
+ pointer-events: none;
3320
+ }
3321
+ #queue_df th:nth-child(5), #queue_df td:nth-child(7),
3322
+ #queue_df th:nth-child(6), #queue_df td:nth-child(8) {
3323
+ width: 60px;
3324
+ text-align: center;
3325
+ vertical-align: middle;
3326
+ }
3327
+ #queue_df td:nth-child(5) img,
3328
+ #queue_df td:nth-child(6) img {
3329
+ max-width: 50px;
3330
+ max-height: 50px;
3331
+ object-fit: contain;
3332
+ display: block;
3333
+ margin: auto;
3334
+ cursor: pointer;
3335
+ }
3336
+ #queue_df th:nth-child(7), #queue_df td:nth-child(9),
3337
+ #queue_df th:nth-child(8), #queue_df td:nth-child(10),
3338
+ #queue_df th:nth-child(9), #queue_df td:nth-child(11) {
3339
+ width: 20px;
3340
+ padding: 2px !important;
3341
+ cursor: pointer;
3342
+ text-align: center;
3343
+ font-weight: bold;
3344
+ vertical-align: middle;
3345
+ }
3346
+ #queue_df td:nth-child(5):hover,
3347
+ #queue_df td:nth-child(6):hover,
3348
+ #queue_df td:nth-child(7):hover,
3349
+ #queue_df td:nth-child(8):hover,
3350
+ #queue_df td:nth-child(9):hover {
3351
+ background-color: #e0e0e0;
3352
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3353
  #image-modal-container {
3354
  position: fixed;
3355
  top: 0;