Spaces:
Running
Running
raj-tomar001
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,10 +26,10 @@ with open(SAMPLE_JSON_PATH, 'r') as f:
|
|
26 |
current_essay_index = None
|
27 |
|
28 |
TEXT_CLASS_MAPPING = {
|
29 |
-
'
|
30 |
-
'
|
31 |
-
'
|
32 |
-
'
|
33 |
}
|
34 |
|
35 |
def process_result_detection_tab(text):
|
|
|
26 |
current_essay_index = None
|
27 |
|
28 |
TEXT_CLASS_MAPPING = {
|
29 |
+
'LABEL_2': 'Machine Generated',
|
30 |
+
'LABEL_0': 'Human Written',
|
31 |
+
'LABEL_3': 'Machine Written, Machine Humanized',
|
32 |
+
'LABEL_1': 'Human Written, Machine Polished'
|
33 |
}
|
34 |
|
35 |
def process_result_detection_tab(text):
|