Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,9 @@ from nltk.tokenize import sent_tokenize
|
|
| 2 |
from setfit import SetFitModel
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
features = (['Teaching & learning', 'Support', 'Communication', 'Organisation & timetable',
|
| 8 |
'Assessment & feedback', 'Career & placement', 'Health, well-being & social life', 'Facilities & technology'])
|
|
|
|
| 2 |
from setfit import SetFitModel
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
token = "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"
|
| 6 |
+
|
| 7 |
+
inf_model = SetFitModel.from_pretrained("MYox/NSS_multi-label_8_sent_v3_1", use_auth_token=token)
|
| 8 |
|
| 9 |
features = (['Teaching & learning', 'Support', 'Communication', 'Organisation & timetable',
|
| 10 |
'Assessment & feedback', 'Career & placement', 'Health, well-being & social life', 'Facilities & technology'])
|