Spaces:
Runtime error
Runtime error
ryanrahmadifa
commited on
Commit
·
383d596
1
Parent(s):
9b047e4
Added more features.
Browse files- app.py +1 -1
- modules/data_preparation.py +1 -1
app.py
CHANGED
@@ -39,7 +39,7 @@ df_news_final = pd.concat([df_news, df_mean])
|
|
39 |
|
40 |
df_news_final.index = np.arange(1, len(df_news_final) + 1)
|
41 |
|
42 |
-
df_news_final.drop(columns['body', 'headline'])
|
43 |
|
44 |
st.markdown('---')
|
45 |
|
|
|
39 |
|
40 |
df_news_final.index = np.arange(1, len(df_news_final) + 1)
|
41 |
|
42 |
+
df_news_final.drop(columns=['body', 'headline'])
|
43 |
|
44 |
st.markdown('---')
|
45 |
|
modules/data_preparation.py
CHANGED
@@ -52,7 +52,7 @@ def plot_3dgraph(news_data):
|
|
52 |
color_continuous_scale='RdBu',
|
53 |
size_max=40,
|
54 |
size='negative_score',
|
55 |
-
text='headline',
|
56 |
hover_data='topic_verification')
|
57 |
|
58 |
fig.update_layout(
|
|
|
52 |
color_continuous_scale='RdBu',
|
53 |
size_max=40,
|
54 |
size='negative_score',
|
55 |
+
#text='headline',
|
56 |
hover_data='topic_verification')
|
57 |
|
58 |
fig.update_layout(
|