mihalykiss commited on
Commit
4112116
·
verified ·
1 Parent(s): 7455191

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -0
app.py CHANGED
@@ -126,7 +126,36 @@ def classify_text(text):
126
 
127
  title = "AI Text Detector"
128
 
 
 
 
129
  description = """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  This tool uses the <b>ModernBERT</b> model to identify whether a given text was written by a human or generated by artificial intelligence (AI). It works with a soft voting ensemble using <b>three</b> models, combining their outputs to improve the accuracy.<br>
131
  <div style="line-height: 1.8;">
132
  ✅ <b>Human Verification:</b> Human-written content is clearly marked.<br>
 
126
 
127
  title = "AI Text Detector"
128
 
129
+
130
+
131
+
132
  description = """
133
+ <div style="border: 3px solid #FF5733; padding: 18px; border-radius: 12px; text-align: center; margin-bottom: 20px;">
134
+ <h2 style="margin: 0; font-size: 22px; font-weight: bold;">
135
+ ⚠️ Important Notice
136
+ </h2>
137
+ <p style="margin: 10px 0 0 0; font-size: 18px; font-weight: bold;">
138
+ This is an <u>English</u> AI text detector.<br>
139
+ The <u>Hungarian</u> AI detector is available at:
140
+ <a href="https://preds.hu" target="_blank" style="color: #007bff; text-decoration: none;">
141
+ <b>https://preds.hu</b>
142
+ </a>
143
+ </p>
144
+ <hr style="margin: 15px 0;">
145
+ <h2 style="margin: 0; font-size: 22px; font-weight: bold;">
146
+ ⚠️ Fontos információ
147
+ </h2>
148
+ <p style="margin: 10px 0 0 0; font-size: 18px; font-weight: bold;">
149
+ Ez egy <u>angol</u> AI-szövegdetektor.<br>
150
+ A <u>magyar</u> AI detektor itt érhető el:
151
+ <a href="https://preds.hu" target="_blank" style="color: #007bff; text-decoration: none;">
152
+ <b>https://preds.hu</b>
153
+ </a>
154
+ </p>
155
+ </div>
156
+
157
+
158
+
159
  This tool uses the <b>ModernBERT</b> model to identify whether a given text was written by a human or generated by artificial intelligence (AI). It works with a soft voting ensemble using <b>three</b> models, combining their outputs to improve the accuracy.<br>
160
  <div style="line-height: 1.8;">
161
  ✅ <b>Human Verification:</b> Human-written content is clearly marked.<br>