Spaces:
Runtime error
Runtime error
Isabel Gwara commited on
Commit ·
63f4ef1
1
Parent(s): ed07a1c
Update reader.py
Browse files
reader.py
CHANGED
|
@@ -58,101 +58,7 @@ def get_article(acc, most_imp_feat):
|
|
| 58 |
line('p', membs)
|
| 59 |
doc.stag('img', src=img_src)
|
| 60 |
|
| 61 |
-
css = ''
|
| 62 |
-
.box {
|
| 63 |
-
border: 2px solid black;
|
| 64 |
-
text-align: center;
|
| 65 |
-
margin: 10px;
|
| 66 |
-
padding: 5%;
|
| 67 |
-
}
|
| 68 |
-
ul {
|
| 69 |
-
display: inline-block;
|
| 70 |
-
text-align: left;
|
| 71 |
-
}
|
| 72 |
-
img {
|
| 73 |
-
display: block;
|
| 74 |
-
margin: auto;
|
| 75 |
-
}
|
| 76 |
-
.description {
|
| 77 |
-
text-align: center;
|
| 78 |
-
}
|
| 79 |
-
.panel_button {
|
| 80 |
-
display: block !important;
|
| 81 |
-
width: 100% !important;
|
| 82 |
-
background-color: #00EACD !important;
|
| 83 |
-
color: #000;
|
| 84 |
-
transition: all .2s ease-out 0s !important;
|
| 85 |
-
box-shadow: 0 10px #00AEAB !important;
|
| 86 |
-
border-radius: 10px !important;
|
| 87 |
-
}
|
| 88 |
-
.panel_button:hover {
|
| 89 |
-
box-shadow: 0 5px #00AEAB;
|
| 90 |
-
transform: translateY(5px);
|
| 91 |
-
}
|
| 92 |
-
.submit {
|
| 93 |
-
color: black !important;
|
| 94 |
-
}
|
| 95 |
-
.selected {
|
| 96 |
-
background-color: #656bd6 !important;
|
| 97 |
-
}
|
| 98 |
-
.radio_item {
|
| 99 |
-
border-radius: 10px;
|
| 100 |
-
padding-left: 10px !important;
|
| 101 |
-
padding-right: 10px !important;
|
| 102 |
-
}
|
| 103 |
-
.radio_item:hover {
|
| 104 |
-
color: #656bd6 !important;
|
| 105 |
-
}
|
| 106 |
-
.title {
|
| 107 |
-
background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
|
| 108 |
-
background-size: cover;
|
| 109 |
-
color: transparent;
|
| 110 |
-
-moz-background-clip: text;
|
| 111 |
-
-webkit-background-clip: text;
|
| 112 |
-
text-transform: uppercase;
|
| 113 |
-
font-size: 60px;
|
| 114 |
-
line-height: .75;
|
| 115 |
-
margin: 10px 0;
|
| 116 |
-
}
|
| 117 |
-
.panel_header {
|
| 118 |
-
color: black !important;
|
| 119 |
-
}
|
| 120 |
-
input {
|
| 121 |
-
background-color: #efeffa !important;
|
| 122 |
-
}
|
| 123 |
-
.acc, .feat {
|
| 124 |
-
background-color: #FF3399 !important
|
| 125 |
-
}
|
| 126 |
-
.prj {
|
| 127 |
-
background-color: #FFCE3B !important;
|
| 128 |
-
}
|
| 129 |
-
.data {
|
| 130 |
-
background-color: #ED6800 !important;
|
| 131 |
-
}
|
| 132 |
-
.ethics {
|
| 133 |
-
background-color: #3EE6F9 !important;
|
| 134 |
-
}
|
| 135 |
-
.team {
|
| 136 |
-
background-color: #9581EF !important;
|
| 137 |
-
}
|
| 138 |
-
.model-container {
|
| 139 |
-
display: flex;
|
| 140 |
-
flex-direction: column;
|
| 141 |
-
justify-content: center;
|
| 142 |
-
}
|
| 143 |
-
.spacer {
|
| 144 |
-
display: flex;
|
| 145 |
-
justify-content: center;
|
| 146 |
-
}
|
| 147 |
-
.model-div {
|
| 148 |
-
width: 45%;
|
| 149 |
-
}
|
| 150 |
-
@media screen and (max-width: 700px) {
|
| 151 |
-
.model-container {
|
| 152 |
-
flex-wrap: wrap;
|
| 153 |
-
}
|
| 154 |
-
}
|
| 155 |
-
'''
|
| 156 |
return {
|
| 157 |
'article': doc.getvalue(),
|
| 158 |
'css': css,
|
|
|
|
| 58 |
line('p', membs)
|
| 59 |
doc.stag('img', src=img_src)
|
| 60 |
|
| 61 |
+
css = 'app.css'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
return {
|
| 63 |
'article': doc.getvalue(),
|
| 64 |
'css': css,
|