Spaces:
Build error
Build error
Rename app_15.py to app_16.py
Browse files- app_15.py → app_16.py +1 -1
app_15.py → app_16.py
RENAMED
|
@@ -181,7 +181,7 @@ def extract_arguments(text, tokenizer, model, beam_search=True):
|
|
| 181 |
|
| 182 |
# Apply the tags to the sentence tokens
|
| 183 |
tagged_sentence1 = add_tags(input_text, word_ids, start_cause1, end_cause1, start_effect1, end_effect1, start_signal, end_signal)
|
| 184 |
-
tagged_sentence2 = add_tags(
|
| 185 |
return tagged_sentence1, tagged_sentence2
|
| 186 |
|
| 187 |
|
|
|
|
| 181 |
|
| 182 |
# Apply the tags to the sentence tokens
|
| 183 |
tagged_sentence1 = add_tags(input_text, word_ids, start_cause1, end_cause1, start_effect1, end_effect1, start_signal, end_signal)
|
| 184 |
+
tagged_sentence2 = add_tags(input_text, word_ids, start_cause2, end_cause2, start_effect2, end_effect2, start_signal, end_signal)
|
| 185 |
return tagged_sentence1, tagged_sentence2
|
| 186 |
|
| 187 |
|