Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ We used the following model [dean22029/Taiwan_Legislator_multilabel_classificati
|
|
21 |
|
22 |
|
23 |
# Our model (will not publish due to the classified dataset)
|
24 |
-
|
25 |
|
26 |
label_mapping = {'LABEL_0': '要求資訊', 'LABEL_1': '要求說明', 'LABEL_2': '要求改變', 'LABEL_3': '威脅制裁'}
|
27 |
|
|
|
21 |
|
22 |
|
23 |
# Our model (will not publish due to the classified dataset)
|
24 |
+
model = pipeline("text-classification", model="dean22029/Taiwan_Legislator_multilabel_classification", token=api_key, top_k=None)
|
25 |
|
26 |
label_mapping = {'LABEL_0': '要求資訊', 'LABEL_1': '要求說明', 'LABEL_2': '要求改變', 'LABEL_3': '威脅制裁'}
|
27 |
|