-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
2595 lines (2239 loc) · 135 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./output.css">
<title>Online SD UI</title>
<style>
/* Additional Custom Styles can be added here */
/* Adjust the text color of the textarea */
textarea {
color: #000;
}
</style>
<script src="https://kit.fontawesome.com/9685c3d611.js" crossorigin="anonymous"></script>
<style>
/* Updated Color Scheme */
body {
background-color: #1c1c27;
color: #28293d;
}
label,
h1,
h2,
h3,
p {
color: white;
}
.bg-blue-500 {
background-color: #3d7bfa;
}
.max-h-160 {
max-height: 80rem
/* 320px */
;
}
.min-h-160 {
min-height: 40rem
}
#alert {
position: fixed;
top: 2rem;
/* Adjust this value to set the desired distance from the top */
right: 2rem;
/* Adjust this value to set the desired distance from the right */
z-index: 999;
/* Adjust this value if necessary to ensure the notification appears above other elements */
max-width: 42rem;
min-width: 16rem;
}
.fullscreen-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease-in-out;
}
.panel {
display: flex;
justify-content: center;
align-items: center;
background-color: #1c1c27;
}
.fullscreen-overlay.show {
opacity: 1;
pointer-events: auto;
}
.slider-container {
width: 50%;
/* Adjust the width as per your preference */
display: flex;
align-items: end;
}
code {
color: white;
background-color: #131315;
border-radius: 6px;
padding-left: 6px;
padding-right: 6px;
}
.border-gradient-blue {
border-image: linear-gradient(45deg, #00ff87, #60efff);
border-image-slice: 1;
}
.checkerboard {
background-image:
/* tint image */
linear-gradient(to right, rgba(52, 52, 52, 0.75), rgba(64, 64, 64, 0.75)),
/* checkered effect */
linear-gradient(to right, black 50%, white 50%),
linear-gradient(to bottom, black 50%, white 50%);
background-blend-mode: normal, difference, normal;
background-size: 2em 2em;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/js/select2.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/css/select2.min.css" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<header
class="py-4 px-8 bg-gray-800 flex flex-col md:flex-row justify-between items-center w-full md:h-16 z-50 md:fixed mt-0">
<div class="sm:flex items-center">
<h1 class="text-2xl font-bold mr-4">Stable Diffusion</h1>
<!-- Mobile Menu Icon -->
<!-- Navigation Links -->
<div id="navLinks" class="md:flex md:items-center md:space-x-4">
<a id="historyLink" href="/history/index.html"
class="text-white hover:text-blue-500 hover:underline">History</a>
<a href="/images/index.html" class="text-white hover:text-blue-500 hover:underline">Explore</a>
<a href="https://github.com/silverzonegames/online-sd-ui"
class="text-gray-400 hover:text-blue-500 hover:underline">Contribute</a>
</div>
</div>
<div class="flex justify-between items-center w-full md:w-auto">
<!-- User Information and Controls -->
<div class="flex items-center space-x-4 sm:mx-auto">
<div class="flex-col flex">
<label id="userName" class="horde text-white">Anonymous</label>
<span id="tokenAmount" class="horde text-sm text-gray-500"></span>
</div>
<!-- Model Dropdown and Toggle Buttons -->
<label for="nodes-toggle"
class="comfyui flex items-center text-white rounded-lg bg-blue-500 px-4 py-2 cursor-pointer">
<input type="checkbox" id="nodes-toggle">
<span class="ml-2">Node View</span>
</label>
<label for="loras-toggle" class="flex items-center text-white rounded-lg bg-blue-500 px-4 py-2 cursor-pointer">
<input type="checkbox" id="loras-toggle">
<span class="ml-2">Show Loras</span>
</label>
<button data-modal-target="settingsModal" data-modal-toggle="settingsModal"
class="block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
type="button">
<i class="fas fa-cog"></i> <!-- Settings Icon -->
</button>
</div>
</div>
</header>
<!--Fullscreen Image-->
<div id="fullscreenPanel"
class="fixed w-full h-full bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
<button id="closeFullscreenBtn"
class="mt-2 mr-2 right-0 top-0 fixed z-[100] inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-red-800 to-red-500 group-hover:from-red-800 group-hover:to-red-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-red-800">
<span
class="relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-opacity-0">
Close
</span>
</button>
<img id="fullscreen_image" class="max-h-full" src="image.png">
</div>
<!-- Paint modal -->
<div id="paintModal" tabindex="-1" aria-hidden="true"
class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Paint
</h3>
<button type="button"
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white"
data-modal-hide="paintModal">
<svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-6 space-y-6">
<!-- Brush controls -->
<div class="flex items-center mt-4 z-10 space-x-4 ">
<label for="brush-size">Brush Size:</label>
<input type="range" id="brush-size" min="5" max="100" step="1" value="10">
<button id="clear-button" class="px-4 py-2 bg-red-500 text-white rounded">Clear Canvas</button>
<label for="eraser-toggle" class="flex items-center">
Eraser:
<input type="checkbox" id="eraser-toggle" class="h-6 w-6 ml-2">
</label>
</div>
<!-- The div containing image and canvas -->
<div class="relative">
<!-- The image -->
<img src="image.png" alt="Image" class="w-full" id="image">
<!-- The drawable canvas -->
<canvas id="drawable-canvas" class="absolute top-0 left-0 opacity-75"
style="background: transparent;"></canvas>
</div>
</div>
<!-- Modal footer -->
<div class="flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600">
<button id="paintDoneBtn" data-modal-hide="paintModal" type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Done</button>
<button data-modal-hide="paintModal" type="button"
class="text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600">Cancel</button>
</div>
</div>
</div>
</div>
<!--End Paint Modal-->
<!--Canvas modal-->
<!-- Main modal -->
<div id="canvasModal" tabindex="-1" aria-hidden="true"
class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-6xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Outpaint WIP
</h3>
<button type="button"
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white"
data-modal-hide="canvasModal">
<svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-6 space-y-6">
<input type="file" id="canvas_imageInput" class="mb-4 bg-gray-700 p-2 rounded">
<div class="flex items-center space-x-4 mb-4">
<label for="canvas_CanvasRatio">Canvas Ratio:</label>
<input type="range" id="canvas_CanvasRatio" class="w-56 bg-gray-700 text-white" min="-1" max="1" step="0.05"
value="0">
<span class="text-white ml-2 w-64">
<input type="number" id="canvas_CanvasWidth" class="bg-transparent text-white w-16" min="512" max="1024"
step="32" value="512">
<span class="mx-1">x</span>
<input type="number" id="canvas_CanvasHeight" class="bg-transparent text-white w-16" min="512" max="1024"
step="32" value="512">
</span>
</div>
<div class="flex items-center space-x-4 mb-4">
<label for="canvas_imageScale">Image Scale:</label>
<input type="range" id="canvas_imageScale" class="w-56 bg-gray-700 text-white" min="0.2" max="1" step="0.01"
value="0.5">
<input type="number" id="canvas_imageScaleValue" class="text-white bg-transparent w-16" min="0.2" max="1"
step="0.01" value="0.5">
</div>
<div class="relative">
<canvas id="canvas_imageCanvas" class="border-2 border-gradient-blue checkerboard" width="800"
height="600"></canvas>
<div id="canvas_imageWrapper" class="absolute top-0 left-0 pointer-events-none"></div>
</div>
<button id="canvas_exportImage" class="bg-green-500 text-white px-4 py-2 rounded mt-4">Export Canvas
Image</button>
</div>
<!-- Modal footer -->
<div class="flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600">
<button data-modal-hide="canvasModal" type="button"
class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">I
accept</button>
<button data-modal-hide="canvasModal" type="button"
class="text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600">Decline</button>
</div>
</div>
</div>
</div>
<!--End Canvas modal-->
<!-- Upscale Modal-->
<!-- Modal toggle -->
<button data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 hidden"
type="button">
Toggle modal
</button>
<!-- Main modal -->
<div id="defaultModal" tabindex="-1" aria-hidden="true"
class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Upscale
</h3>
<button type="button"
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white"
data-modal-hide="defaultModal">
<svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-6 space-y-6">
<!--Tab Buttons-->
<div class="mb-4 border-b border-gray-200 dark:border-gray-700">
<ul class="flex flex-wrap -mb-px text-sm font-medium text-center" id="myTab"
data-tabs-toggle="#myTabContent" role="tablist">
<li class="mr-2 automatic1111" role="presentation">
<button class="inline-block p-4 border-b-2 rounded-t-lg" id="ultimate-upscale-tab"
data-tabs-target="#ultimate-upscale" type="button" role="tab" aria-controls="ultimate-upscale"
aria-selected="false">Ultimate Upscale</button>
</li>
<li class="mr-2 automatic1111" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="sd-upscale-tab" data-tabs-target="#sd-upscale" type="button" role="tab" aria-controls="sd-upscale"
aria-selected="false">SD Upscale</button>
</li>
<li class="mr-2 automatic1111" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="esrgan-upscale-tab" data-tabs-target="#esrgan-upscale" type="button" role="tab"
aria-controls="esrgan-upscale" aria-selected="false">ESRGAN Upscale</button>
</li>
<li class="automatic1111" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="latent-upscale-tab" data-tabs-target="#latent-upscale" type="button" role="tab"
aria-controls="latent-upscale" aria-selected="false">Latent Upscale</button>
</li>
<!--Comfy-->
<li class="comfyui" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="comfy-latent-upscale-tab" data-tabs-target="#comfy-latent-upscale" type="button" role="tab"
aria-controls="comfy-latent-upscale" aria-selected="false">Latent Upscale</button>
</li>
<li class="comfyui" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="comfy-sd-upscale-tab" data-tabs-target="#comfy-sd-upscale" type="button" role="tab"
aria-controls="comfy-sd-upscale" aria-selected="false">Ultimate SD Upscale</button>
</li>
<li class="comfyui" role="presentation">
<button
class="inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300"
id="comfy-model-upscale-tab" data-tabs-target="#comfy-model-upscale" type="button" role="tab"
aria-controls="comfy-model-upscale" aria-selected="false">Upscale With Model</button>
</li>
</ul>
</div>
<!--End Tab Buttons-->
<div id="myTabContent">
<div id="myTabContent">
<!--Ultimate Upscale-->
<div class="nocomfyui hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="ultimate-upscale"
role="tabpanel" aria-labelledby="ultimate-upscale-tab">
<p class="text-sm text-gray-500 dark:text-gray-400">Use the <a
href="https://github.com/Coyote-A/ultimate-upscale-for-automatic1111"
class="text-blue-500 underline">Ultimate Upscale</a> Script to
Upscale the current Image. Requires you to have the extension installed</p>
<h2 class="text-lg font-semibold mt-4">Settings</h2>
<!-- Slider for Scale -->
<label for="ultimate-upscale-scale" class="block mt-2" title="Amount to Upscale">
<span class="mr-2">Scale:</span>
<input id="scale-value" type="number" value="2" min="1" max="4" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="ultimate-upscale-scale" type="range" value="2" min="1" max="4" step="0.01" class="w-full">
<!-- Slider for Denoising Strength -->
<label for="ultimate-upscale-denoising-strength" class="block mt-2" title="Recommended 0.2-0.5">
<span class="mr-2">Denoising Strength:</span>
<input id="denoising-strength-value" type="number" value="0.3" min="0" max="1" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="ultimate-upscale-denoising-strength" type="range" value="0.3" min="0" max="1" step="0.01"
class="w-full">
<script>
// Update the scale value display when the scale input or slider is changed
const scaleInput = document.getElementById("scale-value");
const scaleSlider = document.getElementById("ultimate-upscale-scale");
scaleInput.addEventListener("input", () => {
scaleSlider.value = scaleInput.value;
});
scaleSlider.addEventListener("input", () => {
scaleInput.value = scaleSlider.value;
});
// Update the denoising strength value display when the denoising strength input or slider is changed
const denoisingInput = document.getElementById("denoising-strength-value");
const denoisingSlider = document.getElementById("ultimate-upscale-denoising-strength");
denoisingInput.addEventListener("input", () => {
denoisingSlider.value = denoisingInput.value;
});
denoisingSlider.addEventListener("input", () => {
denoisingInput.value = denoisingSlider.value;
});
</script>
<div class="flex max-w-full">
<div class="mb-2">
<label for="ultimate-upscale-upscaler_index" class="block">Upscaler</label>
<select id="ultimate-upscale-upscaler_index"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">None</option>
<option value="1">Lanczos</option>
<!-- Include other upscaler options -->
</select>
</div>
<div class="ml-2">
<label for="ultimate-upscale-redraw_mode" class="block">Type</label>
<select id="ultimate-upscale-redraw_mode"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">Linear</option>
<option value="1">Chess</option>
<!-- Include other type options -->
</select>
</div>
</div>
<h2 class="text-lg font-semibold mt-4">Seams Fix</h2>
<div class="mb-2 w-80">
<label for="ultimate-upscale-seams_fix_type" class="block">Seams Fix Type</label>
<select id="ultimate-upscale-seams_fix_type"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">None</option>
<option value="1">Band pass</option>
<option value="2">Half tile offset pass</option>
<option value="3">Half tile offset pass + intersections</option>
<!-- Include other upscaler options -->
</select>
</div>
<div id="seamsFixOptionsContainer" class="hidden">
<div class="flex space-x-4 mb-2">
<div class="flex-1">
<label for="ultimate-upscale-seams_fix_denoise" class="block mt-2" title="Denoise">
<span class="mr-2">Denoise:</span>
<input id="ultimate-upscale-seams_fix_denoise-value" type="number" value="0.35" min="0" max="1"
step="0.01" class="w-16 bg-transparent">
</label>
<input id="ultimate-upscale-seams_fix_denoise" type="range" value="0.35" min="0" max="1"
step="0.01" class="w-full">
</div>
<div class="flex-1">
<label for="ultimate-upscale-seams_fix_width" class="block mt-2" title="Width">
<span class="mr-2">Width:</span>
<input id="ultimate-upscale-seams_fix_width-value" type="number" value="64" min="0" max="128"
step="1" class="w-16 bg-transparent">
</label>
<input id="ultimate-upscale-seams_fix_width" type="range" value="64" min="0" max="128" step="1"
class="w-full">
</div>
<div class="flex-1">
<label for="ultimate-upscale-seams_fix_padding" class="block mt-2" title="Padding">
<span class="mr-2">Padding:</span>
<input id="ultimate-upscale-seams_fix_padding-value" type="number" value="8" min="0" max="128"
step="1" class="w-16 bg-transparent">
</label>
<input id="ultimate-upscale-seams_fix_padding" type="range" value="8" min="0" max="128" step="1"
class="w-full">
</div>
</div>
<script>
// Update the denoising value display when the denoising input or slider is changed
const uu_denoisingInput = document.getElementById("ultimate-upscale-seams_fix_denoise-value");
const uu_denoisingSlider = document.getElementById("ultimate-upscale-seams_fix_denoise");
uu_denoisingInput.addEventListener("input", () => {
uu_denoisingSlider.value = uu_denoisingInput.value;
});
uu_denoisingSlider.addEventListener("input", () => {
uu_denoisingInput.value = uu_denoisingSlider.value;
});
// Update the width value display when the width input or slider is changed
const uu_widthInput = document.getElementById("ultimate-upscale-seams_fix_width-value");
const uu_widthSlider = document.getElementById("ultimate-upscale-seams_fix_width");
uu_widthInput.addEventListener("input", () => {
uu_widthSlider.value = uu_widthInput.value;
});
uu_widthSlider.addEventListener("input", () => {
uu_widthInput.value = uu_widthSlider.value;
});
// Update the padding value display when the padding input or slider is changed
const uu_paddingInput = document.getElementById("ultimate-upscale-seams_fix_padding-value");
const uu_paddingSlider = document.getElementById("ultimate-upscale-seams_fix_padding");
uu_paddingInput.addEventListener("input", () => {
uu_paddingSlider.value = uu_paddingInput.value;
});
uu_paddingSlider.addEventListener("input", () => {
uu_paddingInput.value = uu_paddingSlider.value;
});
</script>
</div>
<!-- Submit button -->
<button id="ultimateUpscaleBtn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
</div>
<script>
document.getElementById("ultimate-upscale-seams_fix_type").addEventListener("change", (e) => {
if (e.target.value == 0) {
document.getElementById("seamsFixOptionsContainer").classList.add("hidden");
} else {
document.getElementById("seamsFixOptionsContainer").classList.remove("hidden");
}
})
</script>
</div>
<!-- Repeat similar content for other tabs -->
</div>
<!--Sd Upscale-->
<div class="nocomfyui hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="sd-upscale" role="tabpanel"
aria-labelledby="sd-upscale-tab">
<p class="text-sm text-gray-500 dark:text-gray-400">Use SD Upscale Script to Upscale the current Image</p>
<!-- Slider for Scale -->
<label for="sd-upscale-scale" class="block mt-2" title="Amount to Upscale">
<span class="mr-2">Scale:</span>
<input id="sd-scale-value" type="number" value="2" min="1" max="4" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="sd-upscale-scale" type="range" value="2" min="1" max="4" step="0.01" class="w-full">
<!-- Slider for Denoising Strength -->
<label for="sd-upscale-denoising-strength" class="block mt-2" title="Recommended 0.2-0.4">
<span class="mr-2">Denoising Strength:</span>
<input id="sd-denoising-strength-value" type="number" value="0.25" min="0" max="1" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="sd-upscale-denoising-strength" type="range" value="0.25" min="0" max="1" step="0.01"
class="w-full">
<!-- Slider for Tile Overlap -->
<label for="sd-upscale-tile_overlap" class="block mt-2"
title="For SD upscale, how much overlap in pixels should there be between tiles. Tiles overlap so that when they are merged back into one picture, there is no clearly visible seam.">
<span class="mr-2">Tile Overlap:</span>
<input id="sd-upscale-tile_overlap-value" type="number" value="64" min="0" max="256" step="16"
class="w-16 bg-transparent">
</label>
<input id="sd-upscale-tile_overlap" type="range" value="64" min="0" max="256" step="16" class="w-full">
<div class="mb-2">
<label for="sd-upscale-upscaler_index" class="block">Upscaler</label>
<select id="sd-upscale-upscaler_index"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">None</option>
<option value="1">Lanczos</option>
<!-- Include other upscaler options -->
</select>
</div>
<script>
// Update the scale value display when the scale input or slider is changed
const sd_scaleInput = document.getElementById("sd-scale-value");
const sd_scaleSlider = document.getElementById("sd-upscale-scale");
sd_scaleInput.addEventListener("input", () => {
sd_scaleSlider.value = sd_scaleInput.value;
});
sd_scaleSlider.addEventListener("input", () => {
sd_scaleInput.value = sd_scaleSlider.value;
});
const sd_tile_overlap = document.getElementById("sd-upscale-tile_overlap")
const sd_tile_overlap_value = document.getElementById("sd-upscale-tile_overlap-value")
sd_tile_overlap.addEventListener("input", () => {
sd_tile_overlap_value.value = sd_tile_overlap.value;
});
sd_tile_overlap_value.addEventListener("input", () => {
sd_tile_overlap.value = sd_tile_overlap_value.value;
});
// Update the denoising strength value display when the denoising strength input or slider is changed
const sd_denoisingInput = document.getElementById("sd-denoising-strength-value");
const sd_denoisingSlider = document.getElementById("sd-upscale-denoising-strength");
sd_denoisingInput.addEventListener("input", () => {
sd_denoisingSlider.value = sd_denoisingInput.value;
});
sd_denoisingSlider.addEventListener("input", () => {
sd_denoisingInput.value = sd_denoisingSlider.value;
});
</script>
<button id="SDUpscaleBtn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
</div>
<!-- Esrgan Upscale -->
<div class="nocomfyui hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="esrgan-upscale" role="tabpanel"
aria-labelledby="esrgan-upscale-tab">
<!-- Slider for Scale -->
<label for="esrgan-scale" class="block mt-2" title="Amount to Upscale">
<span class="mr-2">Scale:</span>
<input id="esrgan-scale-value" type="number" value="4" min="1" max="8" step="0.05"
class="w-16 bg-transparent">
</label>
<input id="esrgan-scale" type="range" value="4" min="1" max="8" step="0.05" class="w-full">
<div class="mb-2">
<label for="esrgan-upscale-upscaler_index" class="block">Upscaler</label>
<select id="esrgan-upscale-upscaler_index"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">None</option>
<option value="1">Lanczos</option>
<!-- Include other upscaler options -->
</select>
</div>
<button id="esrgan-upscale-btn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
</div>
<script>
esrgan_scale = document.getElementById("esrgan-scale")
esrgan_scale_value = document.getElementById("esrgan-scale-value")
esrgan_scale.addEventListener("input", () => {
esrgan_scale_value.value = esrgan_scale.value;
});
esrgan_scale_value.addEventListener("input", () => {
esrgan_scale.value = esrgan_scale_value.value;
});
</script>
<!-- Latent Upscale -->
<div class="hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="latent-upscale" role="tabpanel"
aria-labelledby="latent-upscale-tab">
<p class="text-sm text-gray-500 dark:text-gray-400">This is some placeholder content for the <strong
class="font-medium text-gray-800 dark:text-white">Latent Upscale</strong> tab's associated content.
Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes
to control the content visibility and styling.</p>
</div>
<!--comfy-latent-upscale-->
<div class="noautomatic1111 hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="comfy-latent-upscale"
role="tabpanel" aria-labelledby="comfy-latent-upscale">
<label class="relative inline-flex items-center cursor-pointer dark mb-4"
title="Use this if you run out of memory">
<input id="comfy-latent-upscale-tiled" type="checkbox" value="" class="sr-only peer">
<div
class="w-11 h-6 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-800 rounded-full peer bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all border-gray-600 peer-checked:bg-blue-600">
</div>
<span class="ml-3 text-sm font-medium text-gray-300">Use Tiled VAE</span>
</label>
<label for="comfy-latent-upscale-scale" class="block mt-2" title="Amount to Upscale">
<span class="mr-2">Upscale By:</span>
<input id="comfy-latent-upscale-scale-value" type="number" value="2" min="1" max="4" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="comfy-latent-upscale-scale" type="range" value="2" min="1" max="4" step="0.01" class="w-full">
<label for="comfy-latent-upscale-denoise" class="block mt-2"
title="Denoising strength, 0=original image, 1=new image, set around 0.5-0.6">
<span class="mr-2">Denoising Strengh:</span>
<input id="comfy-latent-upscale-denoise-value" type="number" value="0.5" min="0" max="1" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="comfy-latent-upscale-denoise" type="range" value="0.5" min="0" max="1" step="0.01"
class="w-full">
<div class="mb-2">
<label for="comfy-latent-upscale-method" class="block">Upscale Method</label>
<select id="comfy-latent-upscale-method"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option>nearest-exact</option>
<option>bilinear</option>
<option>area</option>
<option>bicubic</option>
<option>bislerp</option>
</select>
</div>
<button id="comfy-latent-upscale-btn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
<script>
document.getElementById("comfy-latent-upscale-scale").addEventListener("input", (e) => {
document.getElementById("comfy-latent-upscale-scale-value").value = e.target.value;
})
document.getElementById("comfy-latent-upscale-scale-value").addEventListener("input", (e) => {
document.getElementById("comfy-latent-upscale-scale").value = e.target.value;
})
document.getElementById("comfy-latent-upscale-denoise").addEventListener("input", (e) => {
document.getElementById("comfy-latent-upscale-denoise-value").value = e.target.value;
})
document.getElementById("comfy-latent-upscale-denoise-value").addEventListener("input", (e) => {
document.getElementById("comfy-latent-upscale-denoise").value = e.target.value;
})
</script>
</div>
<!--comfy-sd-upscale-->
<div class="noautomatic1111 hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="comfy-sd-upscale"
role="tabpanel" aria-labelledby="comfy-sd-upscale">
<p class="text-sm text-gray-500 dark:text-gray-400">Use the <a
href="https://github.com/ssitu/ComfyUI_UltimateSDUpscale?tab=readme-ov-file#installation"
target="_blank" class="text-blue-500 underline">Ultimate SD Upscale</a> Node to
Upscale the current Image. Will not work without the extension</p>
<label for="comfy-sd-upscale-scale" class="block mt-2" title="Amount to Upscale">
<span class="mr-2">Upscale By:</span>
<input id="comfy-sd-upscale-scale-value" type="number" value="2" min="1" max="4" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="comfy-sd-upscale-scale" type="range" value="2" min="1" max="4" step="0.01" class="w-full">
<label for="comfy-sd-upscale-denoise" class="block mt-2"
title="Denoising strength, 0=original image, 1=new image, set around 0.2-0.5">
<span class="mr-2">Denoising Strengh:</span>
<input id="comfy-sd-upscale-denoise-value" type="number" value="0.35" min="0" max="1" step="0.01"
class="w-16 bg-transparent">
</label>
<input id="comfy-sd-upscale-denoise" type="range" value="0.5" min="0" max="1" step="0.01" class="w-full">
<div class="flex max-w-full">
<div class="mb-2">
<label for="comfy-sd-upscale-upscaler" class="block">Upscaler</label>
<select id="comfy-sd-upscale-upscaler"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option value="0">None</option>
<option value="1">Lanczos</option>
<!-- Include other upscaler options -->
</select>
</div>
<div class="ml-2">
<label for="comfy-sd-upscale-mode_type" class="block">Type</label>
<select id="comfy-sd-upscale-mode_type"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<option>Linear</option>
<option>Chess</option>
<!-- Include other type options -->
</select>
</div>
</div>
<script>
document.getElementById("comfy-sd-upscale-scale").addEventListener("input", (e) => {
document.getElementById("comfy-sd-upscale-scale-value").value = e.target.value;
})
document.getElementById("comfy-sd-upscale-scale-value").addEventListener("input", (e) => {
document.getElementById("comfy-sd-upscale-scale").value = e.target.value;
})
document.getElementById("comfy-sd-upscale-denoise").addEventListener("input", (e) => {
document.getElementById("comfy-sd-upscale-denoise-value").value = e.target.value;
})
document.getElementById("comfy-sd-upscale-denoise-value").addEventListener("input", (e) => {
document.getElementById("comfy-sd-upscale-denoise").value = e.target.value;
})
</script>
<button id="comfy-sd-upscale-btn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
</div>
<!--comfy-model-upscale-->
<div class="noautomatic1111 hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800" id="comfy-model-upscale"
role="tabpanel" aria-labelledby="comfy-sd-upscale">
<div class="mb-2">
<label for="comfy-model-upscale-upscaler" class="block">Upscale Model</label>
<select id="comfy-model-upscale-upscaler"
class="bg-white border pr-10 pl-2 py-1.5 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500">
<!-- Include other upscaler options -->
</select>
</div>
<button id="comfy-model-upscale-btn" data-modal-target="defaultModal" data-modal-toggle="defaultModal"
class="mt-4 px-4 py-2 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600">Upscale</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Upscale Modal-->
<!--Lora Info Modal-->
<!-- Modal toggle -->
<button id="loraModalToggle" data-modal-target="loraInfoModal" data-modal-toggle="loraInfoModal"
class="block hidden text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 z-50 hidden"
type="button">
Toggle modal
</button>
<!-- Main modal -->
<div id="loraInfoModal" tabindex="-1" aria-hidden="true"
class="fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full">
<div class="relative w-full max-w-2xl max-h-full">
<!-- Modal content -->
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
<!-- Modal header -->
<div class="flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
Lora Info
</h3>
<button type="button"
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white"
data-modal-hide="loraInfoModal">
<svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
</svg>
<span class="sr-only">Close modal</span>
</button>
</div>
<!-- Modal body -->
<div class="p-6 space-y-6">
<div class="flex items-start">
<!-- Image on the left -->
<img id="loraInfoImage" src="img/card-no-preview.png" alt="Card Preview" class="w-48 h-auto">
<!-- Text on the right -->
<div class="ml-4">
<div class="flex items-center">
<h2 id="loraName" class="text-2xl font-bold">Lora Name</h2>
<a id="loraLink" href="#" target="_blank"
class="flex items-center justify-center h-12 w-12 rounded-full bg-transparent">
<i class="fa-solid fa-globe text-blue-500"></i>
</a>
</div>
<p id="loraDesc" class="text-gray-50">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a
efficitur diam, a
tincidunt lacus. Curabitur facilisis tempor ante, at viverra orci auctor eget. Aliquam tincidunt nibh
vitae erat commodo, at rutrum odio vehicula. Cras purus eros, blandit sed condimentum eget, finibus sit
amet purus. </p>
<div id="loraMetadata" class="mt-4">
<p class="border-b-2"><b>Metadata:</b> <span id="metadataValue">Value</span></p>
</div>
</div>
</div>
<div id="datasetTagsContainer" class="border-2 rounded-lg w-full p-4">
<h2 class="text-lg font-bold mb-4">Training dataset tags</h2>
<div class="max-h-48 overflow-y-auto">
<div id="datasetTags" class="flex flex-wrap gap-2">
<!-- Tags added through script go here -->
</div>
</div>
</div>
<p><b>Activation Text:</b> <span id="loraActivationText" class="text-blue-400">Placeholder Text</span></p>
<div class="flex items-center">
<p class="mr-2"><b>Preferred Weight:</b></p>
<span id="loraPreferredWeight" class="text-blue-400 mr-2">1</span>
</div>
<div id="loraNotesContainer">
<h3><b>Notes</b></h3>
<div class="max-h-96 overflow-auto">
<p id="loraNotes"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris feugiat lobortis nibh a
varius. Donec tempor sapien augue, id lobortis nulla rhoncus fringilla. Mauris sed dui vitae quam
bibendum
placerat a sit amet quam. Mauris tincidunt faucibus quam, id eleifend est aliquam a. Nunc convallis,
tortor
convallis ullamcorper pellentesque, sapien tellus dignissim felis, quis fermentum metus ligula in elit.
Pellentesque hendrerit facilisis elit, vitae pretium quam scelerisque vitae. Nunc rhoncus tincidunt
ligula
vitae dapibus. Vestibulum ut condimentum mi. Nunc sit amet scelerisque orci, volutpat fringilla nibh.
Suspendisse maximus porttitor ultrices. Integer at justo a neque condimentum faucibus non dictum ante.
Proin
in ante massa. Nullam sapien justo, vestibulum ut neque vitae, vestibulum laoreet nunc. Duis dictum
nulla
sed turpis rhoncus hendrerit. Maecenas eget orci quis neque porta rhoncus vitae in justo. </p>
</div>
</div>
<div id="loraCivitDescContainer">
<h3><b>Model Description</b></h3>
<p id="loraCivitDesc">Civitai Desc</p>
</div>
</div>