Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,13 +160,12 @@ def main():
|
|
| 160 |
padding: 10px;
|
| 161 |
text-align: center;
|
| 162 |
margin: 5px;
|
| 163 |
-
background-color: #
|
| 164 |
">
|
| 165 |
<b>{phrase['word']}</b><br>
|
| 166 |
<small>Confidence: {phrase['score']:.2f}</small>
|
| 167 |
</div>
|
| 168 |
""", unsafe_allow_html=True)
|
| 169 |
-
st.write(top_keyphrases)
|
| 170 |
|
| 171 |
# Generate summary
|
| 172 |
with st.spinner("Generating review summary..."):
|
|
|
|
| 160 |
padding: 10px;
|
| 161 |
text-align: center;
|
| 162 |
margin: 5px;
|
| 163 |
+
background-color: #add8e6;
|
| 164 |
">
|
| 165 |
<b>{phrase['word']}</b><br>
|
| 166 |
<small>Confidence: {phrase['score']:.2f}</small>
|
| 167 |
</div>
|
| 168 |
""", unsafe_allow_html=True)
|
|
|
|
| 169 |
|
| 170 |
# Generate summary
|
| 171 |
with st.spinner("Generating review summary..."):
|