Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -161,6 +161,8 @@ class CombinedProcessor:
|
|
| 161 |
|
| 162 |
editorial_out = editorial_classifier(batch_prompts)
|
| 163 |
editorial_df = pd.concat([pd.DataFrame(classification) for classification in editorial_out])
|
|
|
|
|
|
|
| 164 |
|
| 165 |
# Filter out only bibliography entries
|
| 166 |
bibliography_entries = editorial_df[editorial_df['entity_group'] == 'bibliography']['word'].tolist()
|
|
|
|
| 161 |
|
| 162 |
editorial_out = editorial_classifier(batch_prompts)
|
| 163 |
editorial_df = pd.concat([pd.DataFrame(classification) for classification in editorial_out])
|
| 164 |
+
|
| 165 |
+
print(editorial_df)
|
| 166 |
|
| 167 |
# Filter out only bibliography entries
|
| 168 |
bibliography_entries = editorial_df[editorial_df['entity_group'] == 'bibliography']['word'].tolist()
|