Spaces:
Running
Running
ElenaRyumina
commited on
Commit
β’
545ba4b
1
Parent(s):
8db145f
Update app/components.py
Browse files- app/components.py +2 -0
app/components.py
CHANGED
@@ -67,6 +67,7 @@ def dataframe(
|
|
67 |
height: int = 500,
|
68 |
wrap: bool = True,
|
69 |
visible: bool = True,
|
|
|
70 |
) -> gr.Dataframe:
|
71 |
if headers is None or values is None:
|
72 |
datatype = "str"
|
@@ -80,6 +81,7 @@ def dataframe(
|
|
80 |
height=height,
|
81 |
wrap=wrap,
|
82 |
visible=visible,
|
|
|
83 |
)
|
84 |
|
85 |
|
|
|
67 |
height: int = 500,
|
68 |
wrap: bool = True,
|
69 |
visible: bool = True,
|
70 |
+
elem_classes: Optional[str] = "dataframe",
|
71 |
) -> gr.Dataframe:
|
72 |
if headers is None or values is None:
|
73 |
datatype = "str"
|
|
|
81 |
height=height,
|
82 |
wrap=wrap,
|
83 |
visible=visible,
|
84 |
+
elem_classes=elem_classes,
|
85 |
)
|
86 |
|
87 |
|