Update app.py
Browse files
app.py
CHANGED
|
@@ -421,25 +421,23 @@ body, .gradio-container {
|
|
| 421 |
.dataframe-wrap td:focus-within > div,
|
| 422 |
.dataframe-wrap td:focus-within > span,
|
| 423 |
.dataframe-wrap td:focus-within > p {
|
| 424 |
-
white-space:
|
| 425 |
-
overflow
|
| 426 |
-
|
| 427 |
-
max-height: 9em !important;
|
| 428 |
-
overflow-y: auto !important;
|
| 429 |
-
padding-right: 2px !important;
|
| 430 |
}
|
| 431 |
.dataframe-wrap textarea,
|
| 432 |
.dataframe-wrap input[type="text"] {
|
| 433 |
-
white-space:
|
| 434 |
-
overflow-wrap:
|
| 435 |
-
word-break:
|
|
|
|
| 436 |
}
|
| 437 |
.dataframe-wrap textarea {
|
| 438 |
min-height: 38px !important;
|
| 439 |
height: 38px !important;
|
| 440 |
-
max-height:
|
| 441 |
-
overflow-y:
|
| 442 |
-
resize:
|
| 443 |
}
|
| 444 |
.dataframe-wrap tr:hover td { background: var(--bg-hover) !important; }
|
| 445 |
.dataframe-wrap input[type="checkbox"] {
|
|
@@ -864,7 +862,7 @@ def build_app() -> gr.Blocks:
|
|
| 864 |
"bool", "str", "str",
|
| 865 |
],
|
| 866 |
interactive=True,
|
| 867 |
-
wrap=
|
| 868 |
elem_classes=["dataframe-wrap"],
|
| 869 |
)
|
| 870 |
|
|
@@ -1003,7 +1001,7 @@ if __name__ == "__main__":
|
|
| 1003 |
demo.launch(
|
| 1004 |
server_name="0.0.0.0",
|
| 1005 |
server_port=7860,
|
| 1006 |
-
share=
|
| 1007 |
show_error=True,
|
| 1008 |
allowed_paths=[str(OUTPUTS_DIR.resolve())],
|
| 1009 |
css=CUSTOM_CSS,
|
|
|
|
| 421 |
.dataframe-wrap td:focus-within > div,
|
| 422 |
.dataframe-wrap td:focus-within > span,
|
| 423 |
.dataframe-wrap td:focus-within > p {
|
| 424 |
+
white-space: nowrap !important;
|
| 425 |
+
overflow: hidden !important;
|
| 426 |
+
text-overflow: ellipsis !important;
|
|
|
|
|
|
|
|
|
|
| 427 |
}
|
| 428 |
.dataframe-wrap textarea,
|
| 429 |
.dataframe-wrap input[type="text"] {
|
| 430 |
+
white-space: nowrap !important;
|
| 431 |
+
overflow-wrap: normal !important;
|
| 432 |
+
word-break: normal !important;
|
| 433 |
+
overflow-x: auto !important;
|
| 434 |
}
|
| 435 |
.dataframe-wrap textarea {
|
| 436 |
min-height: 38px !important;
|
| 437 |
height: 38px !important;
|
| 438 |
+
max-height: 38px !important;
|
| 439 |
+
overflow-y: hidden !important;
|
| 440 |
+
resize: none !important;
|
| 441 |
}
|
| 442 |
.dataframe-wrap tr:hover td { background: var(--bg-hover) !important; }
|
| 443 |
.dataframe-wrap input[type="checkbox"] {
|
|
|
|
| 862 |
"bool", "str", "str",
|
| 863 |
],
|
| 864 |
interactive=True,
|
| 865 |
+
wrap=False,
|
| 866 |
elem_classes=["dataframe-wrap"],
|
| 867 |
)
|
| 868 |
|
|
|
|
| 1001 |
demo.launch(
|
| 1002 |
server_name="0.0.0.0",
|
| 1003 |
server_port=7860,
|
| 1004 |
+
share=False,
|
| 1005 |
show_error=True,
|
| 1006 |
allowed_paths=[str(OUTPUTS_DIR.resolve())],
|
| 1007 |
css=CUSTOM_CSS,
|