Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,22 +133,33 @@ def run_search(query):
|
|
| 133 |
with gr.Blocks(
|
| 134 |
title="GitHub Issue Hybrid Search",
|
| 135 |
css="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
.gr-markdown table {
|
| 137 |
width: 100%;
|
| 138 |
table-layout: fixed;
|
| 139 |
}
|
|
|
|
| 140 |
.gr-markdown th, .gr-markdown td {
|
| 141 |
text-align: left;
|
| 142 |
padding: 8px;
|
| 143 |
word-wrap: break-word;
|
| 144 |
}
|
|
|
|
|
|
|
| 145 |
.gr-markdown td:nth-child(2),
|
| 146 |
.gr-markdown td:nth-child(3),
|
| 147 |
.gr-markdown td:nth-child(4) {
|
| 148 |
text-align: center;
|
| 149 |
}
|
| 150 |
-
|
| 151 |
"""
|
|
|
|
| 152 |
) as demo:
|
| 153 |
|
| 154 |
gr.Markdown(
|
|
|
|
| 133 |
with gr.Blocks(
|
| 134 |
title="GitHub Issue Hybrid Search",
|
| 135 |
css="""
|
| 136 |
+
/* Sayfanın ana container'ını genişlet */
|
| 137 |
+
.gradio-container {
|
| 138 |
+
max-width: 100% !important;
|
| 139 |
+
padding-left: 40px;
|
| 140 |
+
padding-right: 40px;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
/* Markdown tablo tam genişlik */
|
| 144 |
.gr-markdown table {
|
| 145 |
width: 100%;
|
| 146 |
table-layout: fixed;
|
| 147 |
}
|
| 148 |
+
|
| 149 |
.gr-markdown th, .gr-markdown td {
|
| 150 |
text-align: left;
|
| 151 |
padding: 8px;
|
| 152 |
word-wrap: break-word;
|
| 153 |
}
|
| 154 |
+
|
| 155 |
+
/* Sayısal kolonlar ortalansın */
|
| 156 |
.gr-markdown td:nth-child(2),
|
| 157 |
.gr-markdown td:nth-child(3),
|
| 158 |
.gr-markdown td:nth-child(4) {
|
| 159 |
text-align: center;
|
| 160 |
}
|
|
|
|
| 161 |
"""
|
| 162 |
+
|
| 163 |
) as demo:
|
| 164 |
|
| 165 |
gr.Markdown(
|