Spaces:
Runtime error
Runtime error
Commit
·
f7c6bf3
1
Parent(s):
9436bab
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,9 @@ predictions_df = pd.DataFrame(dataset)
|
|
13 |
predictions_df_url0 = predictions_df['Url'].iloc[0]
|
14 |
predictions_df_url1 = predictions_df['Url'].iloc[1]
|
15 |
predictions_df_url2 = predictions_df['Url'].iloc[2]
|
16 |
-
predictions_df_urls = [[predictions_df_url0],
|
|
|
|
|
17 |
|
18 |
def article_selection(sentiment):
|
19 |
if sentiment == "Positive":
|
|
|
13 |
predictions_df_url0 = predictions_df['Url'].iloc[0]
|
14 |
predictions_df_url1 = predictions_df['Url'].iloc[1]
|
15 |
predictions_df_url2 = predictions_df['Url'].iloc[2]
|
16 |
+
predictions_df_urls = [[predictions_df_url0],
|
17 |
+
[predictions_df_url1],
|
18 |
+
[predictions_df_url2]]
|
19 |
|
20 |
def article_selection(sentiment):
|
21 |
if sentiment == "Positive":
|