Spaces:
Sleeping
Sleeping
Update app_huggingface.py
Browse files- app_huggingface.py +40 -16
app_huggingface.py
CHANGED
|
@@ -87,37 +87,61 @@ description = """
|
|
| 87 |
css = """
|
| 88 |
.gradio-container {
|
| 89 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 90 |
-
background-color: #
|
| 91 |
-
color: #
|
| 92 |
}
|
|
|
|
| 93 |
input, button, textarea, select {
|
| 94 |
-
background-color: #
|
| 95 |
-
color: #
|
| 96 |
-
border: 1px solid #
|
| 97 |
}
|
|
|
|
| 98 |
label, .label, .output_class, .output_label, .upload_box {
|
| 99 |
-
color: #
|
| 100 |
}
|
|
|
|
| 101 |
.gr-image-upload {
|
| 102 |
-
background-color: #
|
| 103 |
-
border: 1px solid #
|
|
|
|
| 104 |
}
|
|
|
|
| 105 |
.examples {
|
| 106 |
-
background-color: #
|
| 107 |
-
border: 1px solid #
|
| 108 |
border-radius: 10px;
|
| 109 |
padding: 15px;
|
| 110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
.footer {
|
| 112 |
margin-top: 30px;
|
| 113 |
text-align: center;
|
| 114 |
-
color: #
|
| 115 |
-
border-top: 1px solid #
|
| 116 |
padding-top: 20px;
|
| 117 |
-
background-color: #
|
| 118 |
-
}
|
| 119 |
-
h1, h2, h3 {
|
| 120 |
-
color: #222;
|
| 121 |
}
|
| 122 |
"""
|
| 123 |
|
|
|
|
| 87 |
css = """
|
| 88 |
.gradio-container {
|
| 89 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 90 |
+
background-color: #181818;
|
| 91 |
+
color: #f0f0f0;
|
| 92 |
}
|
| 93 |
+
|
| 94 |
input, button, textarea, select {
|
| 95 |
+
background-color: #2a2a2a !important;
|
| 96 |
+
color: #ffffff !important;
|
| 97 |
+
border: 1px solid #444 !important;
|
| 98 |
}
|
| 99 |
+
|
| 100 |
label, .label, .output_class, .output_label, .upload_box {
|
| 101 |
+
color: #ffffff !important;
|
| 102 |
}
|
| 103 |
+
|
| 104 |
.gr-image-upload {
|
| 105 |
+
background-color: #2a2a2a !important;
|
| 106 |
+
border: 1px solid #555 !important;
|
| 107 |
+
color: #ffffff !important;
|
| 108 |
}
|
| 109 |
+
|
| 110 |
.examples {
|
| 111 |
+
background-color: #222;
|
| 112 |
+
border: 1px solid #444;
|
| 113 |
border-radius: 10px;
|
| 114 |
padding: 15px;
|
| 115 |
}
|
| 116 |
+
|
| 117 |
+
h1, h2 {
|
| 118 |
+
color: #ffd700; /* altın sarısı başlıklar */
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
h3 {
|
| 122 |
+
color: #90caf9; /* açık mavi alt başlık */
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
table {
|
| 126 |
+
background-color: #1f1f1f;
|
| 127 |
+
border-collapse: collapse;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
td {
|
| 131 |
+
padding: 8px 15px;
|
| 132 |
+
background-color: #2a2a2a;
|
| 133 |
+
border: 1px solid #444;
|
| 134 |
+
color: #ffffff;
|
| 135 |
+
border-radius: 4px;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
.footer {
|
| 139 |
margin-top: 30px;
|
| 140 |
text-align: center;
|
| 141 |
+
color: #aaa;
|
| 142 |
+
border-top: 1px solid #333;
|
| 143 |
padding-top: 20px;
|
| 144 |
+
background-color: #1e1e1e;
|
|
|
|
|
|
|
|
|
|
| 145 |
}
|
| 146 |
"""
|
| 147 |
|