Update app.py
Browse files
app.py
CHANGED
|
@@ -137,10 +137,12 @@ def demo():
|
|
| 137 |
vector_db = gr.State()
|
| 138 |
qa_chain = gr.State()
|
| 139 |
|
|
|
|
| 140 |
gr.HTML("""
|
| 141 |
<style>
|
| 142 |
-
.gr-block.gr-box:
|
| 143 |
-
|
|
|
|
| 144 |
flex: 0 0 180px !important;
|
| 145 |
}
|
| 146 |
</style>
|
|
|
|
| 137 |
vector_db = gr.State()
|
| 138 |
qa_chain = gr.State()
|
| 139 |
|
| 140 |
+
# Inject custom CSS to limit left column width
|
| 141 |
gr.HTML("""
|
| 142 |
<style>
|
| 143 |
+
.gr-block.gr-box { display: flex; }
|
| 144 |
+
.gr-block.gr-box > div:first-child {
|
| 145 |
+
max-width: 180px !important;
|
| 146 |
flex: 0 0 180px !important;
|
| 147 |
}
|
| 148 |
</style>
|