raj-tomar001 commited on
Commit
07bac2c
·
verified ·
1 Parent(s): 7109826

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- 'llm': 'Machine Generated',
30
- 'human': 'Human Written',
31
- 'machine-humanized': 'Machine Written, Machine Humanized',
32
- 'machine-polished': 'Human Written, Machine Polished'
33
  }
34
 
35
  def process_result_detection_tab(text):
 
26
  current_essay_index = None
27
 
28
  TEXT_CLASS_MAPPING = {
29
+ 'LABEL_1': 'Machine Generated',
30
+ 'LABEL_2': 'Human Written',
31
+ 'LABEL_3': 'Machine Written, Machine Humanized',
32
+ 'LABEL_4': 'Human Written, Machine Polished'
33
  }
34
 
35
  def process_result_detection_tab(text):