Upload app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,8 @@ with gr.Blocks(css="""
|
|
| 140 |
opacity: 0.9;
|
| 141 |
}
|
| 142 |
|
| 143 |
-
|
|
|
|
| 144 |
padding: 12px;
|
| 145 |
border-radius: 12px;
|
| 146 |
margin-bottom: 10px;
|
|
@@ -148,17 +149,18 @@ with gr.Blocks(css="""
|
|
| 148 |
color: #ffffff;
|
| 149 |
}
|
| 150 |
|
| 151 |
-
.chat-question {
|
| 152 |
background-color: #1e2a38;
|
| 153 |
border-left: 4px solid #3498db;
|
| 154 |
}
|
| 155 |
|
| 156 |
-
.chat-answer {
|
| 157 |
background-color: #1d352a;
|
| 158 |
border-left: 4px solid #2ecc71;
|
| 159 |
}
|
| 160 |
|
| 161 |
-
|
|
|
|
| 162 |
background-color: #1e1e1e !important;
|
| 163 |
color: #ffffff !important;
|
| 164 |
border-radius: 14px !important;
|
|
@@ -168,18 +170,19 @@ with gr.Blocks(css="""
|
|
| 168 |
}
|
| 169 |
|
| 170 |
.gr-number input {
|
| 171 |
-
background-color: #1e1e1e;
|
| 172 |
-
color: #ffffff;
|
| 173 |
-
border-radius: 8px;
|
| 174 |
-
font-weight: bold;
|
| 175 |
-
border: 1px solid #444;
|
| 176 |
}
|
| 177 |
|
| 178 |
.gr-file label, .gr-html, .gr-markdown {
|
| 179 |
-
color: #ffffff;
|
| 180 |
}
|
| 181 |
""") as demo:
|
| 182 |
|
|
|
|
| 183 |
gr.Markdown("# 📘 EğitBot - Eğitim Asistanı")
|
| 184 |
|
| 185 |
with gr.Row():
|
|
|
|
| 140 |
opacity: 0.9;
|
| 141 |
}
|
| 142 |
|
| 143 |
+
/* Sohbet kutusu stilleri (HTML içinde uygulanırsa çalışır) */
|
| 144 |
+
.gr-html div.chat-bubble {
|
| 145 |
padding: 12px;
|
| 146 |
border-radius: 12px;
|
| 147 |
margin-bottom: 10px;
|
|
|
|
| 149 |
color: #ffffff;
|
| 150 |
}
|
| 151 |
|
| 152 |
+
.gr-html div.chat-question {
|
| 153 |
background-color: #1e2a38;
|
| 154 |
border-left: 4px solid #3498db;
|
| 155 |
}
|
| 156 |
|
| 157 |
+
.gr-html div.chat-answer {
|
| 158 |
background-color: #1d352a;
|
| 159 |
border-left: 4px solid #2ecc71;
|
| 160 |
}
|
| 161 |
|
| 162 |
+
/* Textarea (soru giriş kutusu) görünümü */
|
| 163 |
+
textarea {
|
| 164 |
background-color: #1e1e1e !important;
|
| 165 |
color: #ffffff !important;
|
| 166 |
border-radius: 14px !important;
|
|
|
|
| 170 |
}
|
| 171 |
|
| 172 |
.gr-number input {
|
| 173 |
+
background-color: #1e1e1e !important;
|
| 174 |
+
color: #ffffff !important;
|
| 175 |
+
border-radius: 8px !important;
|
| 176 |
+
font-weight: bold !important;
|
| 177 |
+
border: 1px solid #444 !important;
|
| 178 |
}
|
| 179 |
|
| 180 |
.gr-file label, .gr-html, .gr-markdown {
|
| 181 |
+
color: #ffffff !important;
|
| 182 |
}
|
| 183 |
""") as demo:
|
| 184 |
|
| 185 |
+
|
| 186 |
gr.Markdown("# 📘 EğitBot - Eğitim Asistanı")
|
| 187 |
|
| 188 |
with gr.Row():
|