Update app.py
Browse files
app.py
CHANGED
@@ -976,15 +976,29 @@ with gr.Blocks(
|
|
976 |
.gradio-container {
|
977 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
978 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
979 |
.tab-nav button {
|
|
|
980 |
font-size: 0.85em !important;
|
981 |
padding: 8px 12px !important;
|
982 |
white-space: nowrap !important;
|
983 |
}
|
984 |
-
|
985 |
-
flex-wrap: wrap !important;
|
986 |
-
gap: 5px !important;
|
987 |
-
}
|
988 |
@keyframes pulse {
|
989 |
0% { opacity: 0.6; }
|
990 |
50% { opacity: 1; }
|
@@ -995,6 +1009,7 @@ with gr.Blocks(
|
|
995 |
}
|
996 |
"""
|
997 |
) as demo:
|
|
|
998 |
# ์ธ์ด ์ํ ๊ด๋ฆฌ
|
999 |
current_language = gr.State(value="en")
|
1000 |
|
|
|
976 |
.gradio-container {
|
977 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
978 |
}
|
979 |
+
|
980 |
+
/* โ ํญ ๋ค๋น๊ฒ์ด์
: ๊ฐ๋ก ์คํฌ๋กค ๊ฐ๋ฅํ๋๋ก */
|
981 |
+
.tab-nav {
|
982 |
+
display: flex !important;
|
983 |
+
flex-wrap: nowrap !important; /* ์ค๋ฐ๊ฟ ๋ฐฉ์ง */
|
984 |
+
overflow-x: auto !important; /* ๊ฐ๋ก ์คํฌ๋กค */
|
985 |
+
white-space: nowrap !important; /* ๋ฒํผ ํ ์ค ์ ์ง */
|
986 |
+
gap: 5px !important;
|
987 |
+
scrollbar-width: none; /* Firefox */
|
988 |
+
-ms-overflow-style: none; /* IE/Edge */
|
989 |
+
}
|
990 |
+
.tab-nav::-webkit-scrollbar { /* Chrome */
|
991 |
+
display: none;
|
992 |
+
}
|
993 |
+
|
994 |
+
/* โก ํญ ๋ฒํผ์ ์ค๋ฐ๊ฟ ์์ด ๊ณ ์ ํญ์ผ๋ก */
|
995 |
.tab-nav button {
|
996 |
+
flex: 0 0 auto !important;
|
997 |
font-size: 0.85em !important;
|
998 |
padding: 8px 12px !important;
|
999 |
white-space: nowrap !important;
|
1000 |
}
|
1001 |
+
|
|
|
|
|
|
|
1002 |
@keyframes pulse {
|
1003 |
0% { opacity: 0.6; }
|
1004 |
50% { opacity: 1; }
|
|
|
1009 |
}
|
1010 |
"""
|
1011 |
) as demo:
|
1012 |
+
|
1013 |
# ์ธ์ด ์ํ ๊ด๋ฆฌ
|
1014 |
current_language = gr.State(value="en")
|
1015 |
|