Spaces:
Runtime error
Runtime error
Commit
·
668e514
1
Parent(s):
49176cd
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ dataset_api = project.get_dataset_api()
|
|
12 |
dataset_api.download("Resources/batch_data_predictions.csv")
|
13 |
dataset = load_dataset("csv", data_files="batch_data_predictions.csv")
|
14 |
predictions_df = pd.DataFrame(dataset,columns=['Headlines', 'URL','Predictions'],)
|
15 |
-
predictions_df_url0 = predictions_df['URL'].iloc[
|
16 |
-
predictions_df_url1 = predictions_df['URL'].iloc[
|
17 |
predictions_df_url2 = predictions_df['URL'].iloc[3]
|
18 |
|
19 |
|
|
|
12 |
dataset_api.download("Resources/batch_data_predictions.csv")
|
13 |
dataset = load_dataset("csv", data_files="batch_data_predictions.csv")
|
14 |
predictions_df = pd.DataFrame(dataset,columns=['Headlines', 'URL','Predictions'],)
|
15 |
+
predictions_df_url0 = predictions_df['URL'].iloc[1]
|
16 |
+
predictions_df_url1 = predictions_df['URL'].iloc[2]
|
17 |
predictions_df_url2 = predictions_df['URL'].iloc[3]
|
18 |
|
19 |
|