datasciencedojo commited on
Commit
c5354fe
1 Parent(s): aa26248

Update app.py

Browse files

update styling and title

Files changed (1) hide show
  1. app.py +55 -1
app.py CHANGED
@@ -44,7 +44,61 @@ def findCorrelation(dataset, target):
44
 
45
  return d, fig1, fig2, fig3, fig4
46
 
47
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  with gr.Row():
49
  with gr.Column():
50
  file = gr.File()
 
44
 
45
  return d, fig1, fig2, fig3, fig4
46
 
47
+ css = """
48
+ footer {display:none !important}
49
+ .output-markdown{display:none !important}
50
+
51
+ div[data-testid="label"] {height: 18rem !important; overflow-x : hidden !important; overflow-y: scroll !important;}
52
+
53
+ .max-h-[30rem] {max-height: 18rem !important;}
54
+
55
+ .gr-button-primary {
56
+ z-index: 14;
57
+ height: 43px;
58
+ width: 130px;
59
+ left: 0px;
60
+ top: 0px;
61
+ padding: 0px;
62
+ cursor: pointer !important;
63
+ background: none rgb(17, 20, 45) !important;
64
+ border: none !important;
65
+ text-align: center !important;
66
+ font-family: Poppins !important;
67
+ font-size: 14px !important;
68
+ font-weight: 500 !important;
69
+ color: rgb(255, 255, 255) !important;
70
+ line-height: 1 !important;
71
+ border-radius: 12px !important;
72
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
73
+ box-shadow: none !important;
74
+ }
75
+ .gr-button-primary:hover{
76
+ z-index: 14;
77
+ height: 43px;
78
+ width: 130px;
79
+ left: 0px;
80
+ top: 0px;
81
+ padding: 0px;
82
+ cursor: pointer !important;
83
+ background: none rgb(37, 56, 133) !important;
84
+ border: none !important;
85
+ text-align: center !important;
86
+ font-family: Poppins !important;
87
+ font-size: 14px !important;
88
+ font-weight: 500 !important;
89
+ color: rgb(255, 255, 255) !important;
90
+ line-height: 1 !important;
91
+ border-radius: 12px !important;
92
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
93
+ box-shadow: rgb(0 0 0 / 23%) 0px 1px 7px 0px !important;
94
+ }
95
+ .hover\:bg-orange-50:hover {
96
+ --tw-bg-opacity: 1 !important;
97
+ background-color: rgb(229,225,255) !important;
98
+ }
99
+ """
100
+
101
+ with gr.Blocks(title="Find Correlation | Datascience Dojo", css = css) as demo:
102
  with gr.Row():
103
  with gr.Column():
104
  file = gr.File()