Spaces:
Configuration error
Configuration error
LucaVivona
commited on
Commit
·
13797bf
1
Parent(s):
3d39830
Update
Browse files- backend/src/__init__.py +2 -2
- backend/src/example/examples.py +1 -1
- frontend/src/css/dist/output.css +31 -139
backend/src/__init__.py
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
from example import *
|
2 |
-
import resources
|
3 |
from src.demo import *
|
|
|
1 |
+
from .example import *
|
2 |
+
import src.resources
|
3 |
from src.demo import *
|
backend/src/example/examples.py
CHANGED
@@ -8,7 +8,7 @@ from torch import nn
|
|
8 |
import numpy as np
|
9 |
import PIL
|
10 |
sys.path.insert(0, "../")
|
11 |
-
from resources.module import GradioModule, register
|
12 |
|
13 |
|
14 |
@GradioModule
|
|
|
8 |
import numpy as np
|
9 |
import PIL
|
10 |
sys.path.insert(0, "../")
|
11 |
+
from src.resources.module import GradioModule, register
|
12 |
|
13 |
|
14 |
@GradioModule
|
frontend/src/css/dist/output.css
CHANGED
@@ -583,10 +583,6 @@ video {
|
|
583 |
}
|
584 |
}
|
585 |
|
586 |
-
.pointer-events-none {
|
587 |
-
pointer-events: none;
|
588 |
-
}
|
589 |
-
|
590 |
.visible {
|
591 |
visibility: visible;
|
592 |
}
|
@@ -620,64 +616,36 @@ video {
|
|
620 |
left: 0px;
|
621 |
}
|
622 |
|
623 |
-
|
624 |
-
|
625 |
-
}
|
626 |
-
|
627 |
-
.top-9 {
|
628 |
-
top: 2.25rem;
|
629 |
}
|
630 |
|
631 |
.bottom-0 {
|
632 |
bottom: 0px;
|
633 |
}
|
634 |
|
635 |
-
|
636 |
-
|
637 |
-
}
|
638 |
-
|
639 |
-
.-bottom-0 {
|
640 |
-
bottom: -0px;
|
641 |
}
|
642 |
|
643 |
.right-0 {
|
644 |
right: 0px;
|
645 |
}
|
646 |
|
647 |
-
|
648 |
-
|
649 |
-
}
|
650 |
-
|
651 |
-
.-right-4 {
|
652 |
-
right: -1rem;
|
653 |
-
}
|
654 |
-
|
655 |
-
.-right-\[17px\] {
|
656 |
-
right: -17px;
|
657 |
-
}
|
658 |
-
|
659 |
-
.-right-\[20px\] {
|
660 |
-
right: -20px;
|
661 |
-
}
|
662 |
-
|
663 |
-
.-right-\[30px\] {
|
664 |
-
right: -30px;
|
665 |
-
}
|
666 |
-
|
667 |
-
.-right-\[28px\] {
|
668 |
-
right: -28px;
|
669 |
}
|
670 |
|
671 |
-
|
672 |
-
|
673 |
}
|
674 |
|
675 |
-
.-
|
676 |
-
|
677 |
}
|
678 |
|
679 |
-
|
680 |
-
|
681 |
}
|
682 |
|
683 |
.z-20 {
|
@@ -736,8 +704,12 @@ video {
|
|
736 |
margin-left: auto;
|
737 |
}
|
738 |
|
739 |
-
|
740 |
-
margin-left:
|
|
|
|
|
|
|
|
|
741 |
}
|
742 |
|
743 |
.mt-4 {
|
@@ -756,70 +728,6 @@ video {
|
|
756 |
margin-top: 0.25rem;
|
757 |
}
|
758 |
|
759 |
-
.mr-3 {
|
760 |
-
margin-right: 0.75rem;
|
761 |
-
}
|
762 |
-
|
763 |
-
.mr-4 {
|
764 |
-
margin-right: 1rem;
|
765 |
-
}
|
766 |
-
|
767 |
-
.-ml-2 {
|
768 |
-
margin-left: -0.5rem;
|
769 |
-
}
|
770 |
-
|
771 |
-
.-ml-3 {
|
772 |
-
margin-left: -0.75rem;
|
773 |
-
}
|
774 |
-
|
775 |
-
.-ml-1 {
|
776 |
-
margin-left: -0.25rem;
|
777 |
-
}
|
778 |
-
|
779 |
-
.-ml-0 {
|
780 |
-
margin-left: -0px;
|
781 |
-
}
|
782 |
-
|
783 |
-
.-ml-\[8px\] {
|
784 |
-
margin-left: -8px;
|
785 |
-
}
|
786 |
-
|
787 |
-
.-ml-\[10px\] {
|
788 |
-
margin-left: -10px;
|
789 |
-
}
|
790 |
-
|
791 |
-
.-ml-\[4px\] {
|
792 |
-
margin-left: -4px;
|
793 |
-
}
|
794 |
-
|
795 |
-
.-ml-\[5px\] {
|
796 |
-
margin-left: -5px;
|
797 |
-
}
|
798 |
-
|
799 |
-
.ml-96 {
|
800 |
-
margin-left: 24rem;
|
801 |
-
}
|
802 |
-
|
803 |
-
.ml-\[30rem\] {
|
804 |
-
margin-left: 30rem;
|
805 |
-
}
|
806 |
-
|
807 |
-
.ml-\[46rem\] {
|
808 |
-
margin-left: 46rem;
|
809 |
-
}
|
810 |
-
|
811 |
-
.ml-\[40rem\] {
|
812 |
-
margin-left: 40rem;
|
813 |
-
}
|
814 |
-
|
815 |
-
.ml-\[44rem\] {
|
816 |
-
margin-left: 44rem;
|
817 |
-
}
|
818 |
-
|
819 |
-
.ml-5 {
|
820 |
-
margin-left: 1.25rem;
|
821 |
-
}
|
822 |
-
|
823 |
.block {
|
824 |
display: block;
|
825 |
}
|
@@ -852,6 +760,10 @@ video {
|
|
852 |
height: 20rem;
|
853 |
}
|
854 |
|
|
|
|
|
|
|
|
|
855 |
.h-screen {
|
856 |
height: 100vh;
|
857 |
}
|
@@ -864,10 +776,6 @@ video {
|
|
864 |
height: auto;
|
865 |
}
|
866 |
|
867 |
-
.h-full {
|
868 |
-
height: 100%;
|
869 |
-
}
|
870 |
-
|
871 |
.h-\[600px\] {
|
872 |
height: 600px;
|
873 |
}
|
@@ -1021,22 +929,6 @@ video {
|
|
1021 |
overflow: hidden;
|
1022 |
}
|
1023 |
|
1024 |
-
.overflow-scroll {
|
1025 |
-
overflow: scroll;
|
1026 |
-
}
|
1027 |
-
|
1028 |
-
.overflow-y-auto {
|
1029 |
-
overflow-y: auto;
|
1030 |
-
}
|
1031 |
-
|
1032 |
-
.overflow-x-hidden {
|
1033 |
-
overflow-x: hidden;
|
1034 |
-
}
|
1035 |
-
|
1036 |
-
.overflow-y-hidden {
|
1037 |
-
overflow-y: hidden;
|
1038 |
-
}
|
1039 |
-
|
1040 |
.overflow-y-scroll {
|
1041 |
overflow-y: scroll;
|
1042 |
}
|
@@ -1403,6 +1295,10 @@ video {
|
|
1403 |
padding: 1.25rem;
|
1404 |
}
|
1405 |
|
|
|
|
|
|
|
|
|
1406 |
.p-0\.5 {
|
1407 |
padding: 0.125rem;
|
1408 |
}
|
@@ -1415,10 +1311,6 @@ video {
|
|
1415 |
padding: 0.25rem;
|
1416 |
}
|
1417 |
|
1418 |
-
.p-3 {
|
1419 |
-
padding: 0.75rem;
|
1420 |
-
}
|
1421 |
-
|
1422 |
.px-6 {
|
1423 |
padding-left: 1.5rem;
|
1424 |
padding-right: 1.5rem;
|
@@ -1429,6 +1321,11 @@ video {
|
|
1429 |
padding-bottom: 0.5rem;
|
1430 |
}
|
1431 |
|
|
|
|
|
|
|
|
|
|
|
1432 |
.px-5 {
|
1433 |
padding-left: 1.25rem;
|
1434 |
padding-right: 1.25rem;
|
@@ -1454,11 +1351,6 @@ video {
|
|
1454 |
padding-bottom: 0.75rem;
|
1455 |
}
|
1456 |
|
1457 |
-
.px-1 {
|
1458 |
-
padding-left: 0.25rem;
|
1459 |
-
padding-right: 0.25rem;
|
1460 |
-
}
|
1461 |
-
|
1462 |
.pb-3 {
|
1463 |
padding-bottom: 0.75rem;
|
1464 |
}
|
|
|
583 |
}
|
584 |
}
|
585 |
|
|
|
|
|
|
|
|
|
586 |
.visible {
|
587 |
visibility: visible;
|
588 |
}
|
|
|
616 |
left: 0px;
|
617 |
}
|
618 |
|
619 |
+
.top-0 {
|
620 |
+
top: 0px;
|
|
|
|
|
|
|
|
|
621 |
}
|
622 |
|
623 |
.bottom-0 {
|
624 |
bottom: 0px;
|
625 |
}
|
626 |
|
627 |
+
.-right-\[25px\] {
|
628 |
+
right: -25px;
|
|
|
|
|
|
|
|
|
629 |
}
|
630 |
|
631 |
.right-0 {
|
632 |
right: 0px;
|
633 |
}
|
634 |
|
635 |
+
.-right-3 {
|
636 |
+
right: -0.75rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
}
|
638 |
|
639 |
+
.top-9 {
|
640 |
+
top: 2.25rem;
|
641 |
}
|
642 |
|
643 |
+
.-bottom-0 {
|
644 |
+
bottom: -0px;
|
645 |
}
|
646 |
|
647 |
+
.top-4 {
|
648 |
+
top: 1rem;
|
649 |
}
|
650 |
|
651 |
.z-20 {
|
|
|
704 |
margin-left: auto;
|
705 |
}
|
706 |
|
707 |
+
.-ml-\[5px\] {
|
708 |
+
margin-left: -5px;
|
709 |
+
}
|
710 |
+
|
711 |
+
.ml-5 {
|
712 |
+
margin-left: 1.25rem;
|
713 |
}
|
714 |
|
715 |
.mt-4 {
|
|
|
728 |
margin-top: 0.25rem;
|
729 |
}
|
730 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
.block {
|
732 |
display: block;
|
733 |
}
|
|
|
760 |
height: 20rem;
|
761 |
}
|
762 |
|
763 |
+
.h-full {
|
764 |
+
height: 100%;
|
765 |
+
}
|
766 |
+
|
767 |
.h-screen {
|
768 |
height: 100vh;
|
769 |
}
|
|
|
776 |
height: auto;
|
777 |
}
|
778 |
|
|
|
|
|
|
|
|
|
779 |
.h-\[600px\] {
|
780 |
height: 600px;
|
781 |
}
|
|
|
929 |
overflow: hidden;
|
930 |
}
|
931 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
932 |
.overflow-y-scroll {
|
933 |
overflow-y: scroll;
|
934 |
}
|
|
|
1295 |
padding: 1.25rem;
|
1296 |
}
|
1297 |
|
1298 |
+
.p-3 {
|
1299 |
+
padding: 0.75rem;
|
1300 |
+
}
|
1301 |
+
|
1302 |
.p-0\.5 {
|
1303 |
padding: 0.125rem;
|
1304 |
}
|
|
|
1311 |
padding: 0.25rem;
|
1312 |
}
|
1313 |
|
|
|
|
|
|
|
|
|
1314 |
.px-6 {
|
1315 |
padding-left: 1.5rem;
|
1316 |
padding-right: 1.5rem;
|
|
|
1321 |
padding-bottom: 0.5rem;
|
1322 |
}
|
1323 |
|
1324 |
+
.px-1 {
|
1325 |
+
padding-left: 0.25rem;
|
1326 |
+
padding-right: 0.25rem;
|
1327 |
+
}
|
1328 |
+
|
1329 |
.px-5 {
|
1330 |
padding-left: 1.25rem;
|
1331 |
padding-right: 1.25rem;
|
|
|
1351 |
padding-bottom: 0.75rem;
|
1352 |
}
|
1353 |
|
|
|
|
|
|
|
|
|
|
|
1354 |
.pb-3 {
|
1355 |
padding-bottom: 0.75rem;
|
1356 |
}
|