Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -656,33 +656,39 @@ def create_interface():
|
|
656 |
padding: 12px;
|
657 |
transition: all 0.3s ease;
|
658 |
background: linear-gradient(135deg, #ffffff, #f8f9ff);
|
659 |
-
width: 150%;
|
660 |
-
margin-right: -50%;
|
661 |
}
|
662 |
.search-box:focus {
|
663 |
border-color: #7b61ff;
|
664 |
box-shadow: 0 0 0 2px rgba(123,97,255,0.2);
|
665 |
background: linear-gradient(135deg, #ffffff, #f0f3ff);
|
666 |
}
|
|
|
667 |
.sort-radio {
|
668 |
-
display: flex;
|
669 |
-
justify-content: space-between;
|
670 |
-
gap: 10px;
|
671 |
background: linear-gradient(135deg, #f5f5ff, #f0f0ff);
|
672 |
padding: 12px;
|
673 |
border-radius: 10px;
|
674 |
-
width:
|
675 |
-
margin-right: -
|
|
|
676 |
}
|
|
|
677 |
.sort-radio label {
|
678 |
-
flex: 1;
|
679 |
-
text-align: center;
|
680 |
-
padding: 10px 15px;
|
681 |
background: linear-gradient(135deg, #ffffff, #f8f9ff);
|
682 |
border-radius: 8px;
|
683 |
cursor: pointer;
|
684 |
transition: all 0.3s ease;
|
685 |
border: 1px solid rgba(123,97,255,0.1);
|
|
|
|
|
|
|
686 |
}
|
687 |
.sort-radio label:hover {
|
688 |
background: linear-gradient(135deg, #f0f3ff, #e8ecff);
|
@@ -693,6 +699,7 @@ def create_interface():
|
|
693 |
color: white;
|
694 |
border-color: transparent;
|
695 |
}
|
|
|
696 |
.refresh-btn {
|
697 |
background: linear-gradient(135deg, #7b61ff, #6366f1);
|
698 |
color: white;
|
@@ -701,18 +708,30 @@ def create_interface():
|
|
701 |
border-radius: 10px;
|
702 |
cursor: pointer;
|
703 |
transition: all 0.3s ease;
|
704 |
-
width: 120px;
|
705 |
-
height:
|
706 |
display: flex;
|
707 |
align-items: center;
|
708 |
justify-content: center;
|
709 |
-
margin-left: auto;
|
|
|
710 |
}
|
711 |
.refresh-btn:hover {
|
712 |
transform: translateY(-2px);
|
713 |
box-shadow: 0 4px 12px rgba(99,102,241,0.4);
|
714 |
background: linear-gradient(135deg, #8b71ff, #7376f1);
|
715 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
""") as interface:
|
717 |
|
718 |
gr.Markdown("""
|
|
|
656 |
padding: 12px;
|
657 |
transition: all 0.3s ease;
|
658 |
background: linear-gradient(135deg, #ffffff, #f8f9ff);
|
659 |
+
width: 150%;
|
660 |
+
margin-right: -50%;
|
661 |
}
|
662 |
.search-box:focus {
|
663 |
border-color: #7b61ff;
|
664 |
box-shadow: 0 0 0 2px rgba(123,97,255,0.2);
|
665 |
background: linear-gradient(135deg, #ffffff, #f0f3ff);
|
666 |
}
|
667 |
+
/* ์ ๋ ฌ ๋ผ๋์ค ๋ฒํผ ์ปจํ
์ด๋ ์คํ์ผ ์์ */
|
668 |
.sort-radio {
|
669 |
+
display: flex !important;
|
670 |
+
justify-content: space-between !important;
|
671 |
+
gap: 10px !important;
|
672 |
background: linear-gradient(135deg, #f5f5ff, #f0f0ff);
|
673 |
padding: 12px;
|
674 |
border-radius: 10px;
|
675 |
+
width: 300% !important; /* ๋๋น 2๋ฐฐ๋ก ์ฆ๊ฐ */
|
676 |
+
margin-right: -100%;
|
677 |
+
min-width: 400px !important; /* ์ต์ ๋๋น ์ค์ */
|
678 |
}
|
679 |
+
/* ์ ๋ ฌ ๋ผ๋์ค ๋ฒํผ ๋ ์ด๋ธ ์คํ์ผ */
|
680 |
.sort-radio label {
|
681 |
+
flex: 1 !important;
|
682 |
+
text-align: center !important;
|
683 |
+
padding: 10px 15px !important;
|
684 |
background: linear-gradient(135deg, #ffffff, #f8f9ff);
|
685 |
border-radius: 8px;
|
686 |
cursor: pointer;
|
687 |
transition: all 0.3s ease;
|
688 |
border: 1px solid rgba(123,97,255,0.1);
|
689 |
+
white-space: nowrap !important; /* ํ
์คํธ ์ค๋ฐ๊ฟ ๋ฐฉ์ง */
|
690 |
+
display: inline-block !important;
|
691 |
+
min-width: 100px !important; /* ์ต์ ๋๋น ์ค์ */
|
692 |
}
|
693 |
.sort-radio label:hover {
|
694 |
background: linear-gradient(135deg, #f0f3ff, #e8ecff);
|
|
|
699 |
color: white;
|
700 |
border-color: transparent;
|
701 |
}
|
702 |
+
/* ๋ฆฌํ๋ ์ ๋ฒํผ ์คํ์ผ ์์ */
|
703 |
.refresh-btn {
|
704 |
background: linear-gradient(135deg, #7b61ff, #6366f1);
|
705 |
color: white;
|
|
|
708 |
border-radius: 10px;
|
709 |
cursor: pointer;
|
710 |
transition: all 0.3s ease;
|
711 |
+
width: 120px;
|
712 |
+
height: 80px !important; /* ๋์ด 2๋ฐฐ๋ก ์ฆ๊ฐ */
|
713 |
display: flex;
|
714 |
align-items: center;
|
715 |
justify-content: center;
|
716 |
+
margin-left: auto;
|
717 |
+
font-size: 1.2em !important; /* ํฐํธ ํฌ๊ธฐ ์ฆ๊ฐ */
|
718 |
}
|
719 |
.refresh-btn:hover {
|
720 |
transform: translateY(-2px);
|
721 |
box-shadow: 0 4px 12px rgba(99,102,241,0.4);
|
722 |
background: linear-gradient(135deg, #8b71ff, #7376f1);
|
723 |
}
|
724 |
+
/* ๋ผ๋์ค ๋ฒํผ ๊ทธ๋ฃน ์ปจํ
์ด๋ ๊ฐ์ ์คํ์ผ */
|
725 |
+
.sort-radio > div {
|
726 |
+
display: flex !important;
|
727 |
+
gap: 10px !important;
|
728 |
+
width: 100% !important;
|
729 |
+
}
|
730 |
+
/* ๋ผ๋์ค ๋ฒํผ ํญ๋ชฉ ๊ฐ์ ์คํ์ผ */
|
731 |
+
.sort-radio > div > div {
|
732 |
+
flex: 1 !important;
|
733 |
+
min-width: 100px !important;
|
734 |
+
}
|
735 |
""") as interface:
|
736 |
|
737 |
gr.Markdown("""
|