Spaces:
Runtime error
Runtime error
Commit
·
f46bcdd
1
Parent(s):
f4ba425
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,8 +41,23 @@ def feature_select(dataset, feature, hue = None):
|
|
| 41 |
|
| 42 |
return plot1, plot2
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
gr.Markdown("""## Input Dataset""")
|
| 47 |
with gr.Row():
|
| 48 |
dataset = gr.File()
|
|
|
|
| 41 |
|
| 42 |
return plot1, plot2
|
| 43 |
|
| 44 |
+
css = """
|
| 45 |
+
footer {display:none !important}
|
| 46 |
+
.overflow-x-scroll {
|
| 47 |
+
overflow-x: scroll !important;
|
| 48 |
+
height: 15rem !important;
|
| 49 |
+
overflow-y: scroll !important;
|
| 50 |
+
}
|
| 51 |
|
| 52 |
+
.max-h-\[30rem\] {max-height: 18rem !important;}
|
| 53 |
+
|
| 54 |
+
.hover\:bg-orange-50:hover {
|
| 55 |
+
--tw-bg-opacity: 1 !important;
|
| 56 |
+
background-color: rgb(229,225,255) !important;
|
| 57 |
+
}
|
| 58 |
+
"""
|
| 59 |
+
|
| 60 |
+
with gr.Blocks(title="Describe Dataset | Datascience Dojo", css = css) as demo:
|
| 61 |
gr.Markdown("""## Input Dataset""")
|
| 62 |
with gr.Row():
|
| 63 |
dataset = gr.File()
|