Spaces:
Running
Running
raj-tomar001
commited on
Commit
•
ec4d0d3
1
Parent(s):
d9e6d6a
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 |
-
'LABEL_2': 'Machine
|
30 |
-
'LABEL_0': 'Human
|
31 |
-
'LABEL_3': 'Machine
|
32 |
-
'LABEL_1': 'Human
|
33 |
}
|
34 |
|
35 |
def process_result_detection_tab(text):
|
@@ -135,10 +135,10 @@ body, .gradio-container {
|
|
135 |
class_intro_html = """
|
136 |
<div class="class-intro">
|
137 |
<h2>Text Classes</h2>
|
138 |
-
<p><strong>Human
|
139 |
-
<p><strong>Machine
|
140 |
-
<p><strong>Human
|
141 |
-
<p><strong>Machine
|
142 |
</div>
|
143 |
"""
|
144 |
|
|
|
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):
|
|
|
135 |
class_intro_html = """
|
136 |
<div class="class-intro">
|
137 |
<h2>Text Classes</h2>
|
138 |
+
<p><strong>Human-Written:</strong> Original text created by humans.</p>
|
139 |
+
<p><strong>Machine-Generated:</strong> Text created by AI from basic prompts, without style instructions.</p>
|
140 |
+
<p><strong>Human-Written, Machine-Polished:</strong> Human text refined by AI for grammar and flow, without new content.</p>
|
141 |
+
<p><strong>Machine-Written, Machine-Humanized:</strong> AI-generated text modified to mimic human writing style.</p>
|
142 |
</div>
|
143 |
"""
|
144 |
|