Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -563,21 +563,6 @@ def run(
|
|
563 |
clear_cuda_cache()
|
564 |
|
565 |
|
566 |
-
|
567 |
-
##############################################################################
|
568 |
-
# X-RAY security scanning examples
|
569 |
-
##############################################################################
|
570 |
-
examples = [
|
571 |
-
[
|
572 |
-
{
|
573 |
-
"text": "μ
λ‘λν X-ray μ΄λ―Έμ§λ€μ λν μν μμ μλ³ λ° λΆμμ μμν©λλ€.",
|
574 |
-
"files": [""],
|
575 |
-
}
|
576 |
-
],
|
577 |
-
|
578 |
-
|
579 |
-
]
|
580 |
-
|
581 |
##############################################################################
|
582 |
# Gradio UI (Blocks) ꡬμ±
|
583 |
##############################################################################
|
@@ -875,6 +860,58 @@ input[type="range"]::-webkit-slider-thumb {
|
|
875 |
}
|
876 |
}
|
877 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
878 |
/* Custom Scrollbar */
|
879 |
::-webkit-scrollbar {
|
880 |
width: 8px !important;
|
@@ -915,8 +952,6 @@ title_html = """
|
|
915 |
</h1>
|
916 |
</div>
|
917 |
|
918 |
-
footer {visibility: hidden;}
|
919 |
-
|
920 |
<div style="
|
921 |
background: rgba(255, 255, 255, 0.9);
|
922 |
backdrop-filter: blur(15px);
|
@@ -998,8 +1033,6 @@ title_html = """
|
|
998 |
|
999 |
|
1000 |
|
1001 |
-
|
1002 |
-
|
1003 |
title_html = """
|
1004 |
<div align="center" style="margin-bottom: 1em;">
|
1005 |
<h1 style="margin-bottom: 0.2em; font-size: 1.8em; color: #333;">π€ Robo Beam-Search</h1>
|
|
|
563 |
clear_cuda_cache()
|
564 |
|
565 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
##############################################################################
|
567 |
# Gradio UI (Blocks) ꡬμ±
|
568 |
##############################################################################
|
|
|
860 |
}
|
861 |
}
|
862 |
|
863 |
+
/* Hide Footer - Multiple Selectors for Gradio */
|
864 |
+
footer {
|
865 |
+
visibility: hidden !important;
|
866 |
+
display: none !important;
|
867 |
+
height: 0 !important;
|
868 |
+
margin: 0 !important;
|
869 |
+
padding: 0 !important;
|
870 |
+
}
|
871 |
+
|
872 |
+
.footer {
|
873 |
+
visibility: hidden !important;
|
874 |
+
display: none !important;
|
875 |
+
height: 0 !important;
|
876 |
+
margin: 0 !important;
|
877 |
+
padding: 0 !important;
|
878 |
+
}
|
879 |
+
|
880 |
+
.gradio-footer {
|
881 |
+
visibility: hidden !important;
|
882 |
+
display: none !important;
|
883 |
+
height: 0 !important;
|
884 |
+
margin: 0 !important;
|
885 |
+
padding: 0 !important;
|
886 |
+
}
|
887 |
+
|
888 |
+
footer[class*="svelte"] {
|
889 |
+
visibility: hidden !important;
|
890 |
+
display: none !important;
|
891 |
+
height: 0 !important;
|
892 |
+
margin: 0 !important;
|
893 |
+
padding: 0 !important;
|
894 |
+
}
|
895 |
+
|
896 |
+
div[class*="footer"] {
|
897 |
+
visibility: hidden !important;
|
898 |
+
display: none !important;
|
899 |
+
height: 0 !important;
|
900 |
+
margin: 0 !important;
|
901 |
+
padding: 0 !important;
|
902 |
+
}
|
903 |
+
|
904 |
+
/* Hide Gradio attribution links */
|
905 |
+
a[href*="gradio.app"] {
|
906 |
+
visibility: hidden !important;
|
907 |
+
display: none !important;
|
908 |
+
}
|
909 |
+
|
910 |
+
div:has(a[href*="gradio.app"]) {
|
911 |
+
visibility: hidden !important;
|
912 |
+
display: none !important;
|
913 |
+
}
|
914 |
+
|
915 |
/* Custom Scrollbar */
|
916 |
::-webkit-scrollbar {
|
917 |
width: 8px !important;
|
|
|
952 |
</h1>
|
953 |
</div>
|
954 |
|
|
|
|
|
955 |
<div style="
|
956 |
background: rgba(255, 255, 255, 0.9);
|
957 |
backdrop-filter: blur(15px);
|
|
|
1033 |
|
1034 |
|
1035 |
|
|
|
|
|
1036 |
title_html = """
|
1037 |
<div align="center" style="margin-bottom: 1em;">
|
1038 |
<h1 style="margin-bottom: 0.2em; font-size: 1.8em; color: #333;">π€ Robo Beam-Search</h1>
|