Spaces:
Sleeping
Sleeping
mihalykiss
commited on
Commit
Β·
0b2db5d
1
Parent(s):
25dea08
UI - theme
Browse files
app.py
CHANGED
@@ -53,16 +53,20 @@ title = "AI Text Detector"
|
|
53 |
|
54 |
description = """
|
55 |
|
|
|
56 |
|
57 |
-
|
58 |
|
59 |
-
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
62 |
|
63 |
Paste your text below to analyze its origin.
|
64 |
"""
|
65 |
-
|
66 |
bottom_text = "**Developed by SzegedAI**"
|
67 |
|
68 |
iface = gr.Blocks(css="""
|
@@ -98,7 +102,7 @@ iface = gr.Blocks(css="""
|
|
98 |
}
|
99 |
|
100 |
body {
|
101 |
-
font-family: 'Roboto Mono', sans-serif;
|
102 |
padding: 20px;
|
103 |
display: block;
|
104 |
justify-content: center;
|
@@ -138,6 +142,15 @@ iface = gr.Blocks(css="""
|
|
138 |
padding: 5px;
|
139 |
border-radius: 8px;
|
140 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
""")
|
142 |
|
143 |
with iface:
|
@@ -149,3 +162,4 @@ with iface:
|
|
149 |
gr.Markdown(bottom_text, elem_id="bottom_text")
|
150 |
|
151 |
iface.launch(share=True)
|
|
|
|
53 |
|
54 |
description = """
|
55 |
|
56 |
+
This tool uses the **ModernBERT** model to identify whether a given text was written by a human or generated by artificial intelligence (AI).
|
57 |
|
58 |
+
<br>
|
59 |
|
60 |
+
<div style="line-height: 1.8;">
|
61 |
+
β
<b>Human Verification:</b> Human-written content is clearly marked.<br>
|
62 |
+
π <b>Model Detection:</b> Can identify content from over 40 AI models.<br>
|
63 |
+
π <b>Accuracy:</b> Works best with longer texts for improved precision.
|
64 |
+
</div>
|
65 |
+
|
66 |
+
<br>
|
67 |
|
68 |
Paste your text below to analyze its origin.
|
69 |
"""
|
|
|
70 |
bottom_text = "**Developed by SzegedAI**"
|
71 |
|
72 |
iface = gr.Blocks(css="""
|
|
|
102 |
}
|
103 |
|
104 |
body {
|
105 |
+
font-family: 'Roboto Mono', sans-serif !important;
|
106 |
padding: 20px;
|
107 |
display: block;
|
108 |
justify-content: center;
|
|
|
142 |
padding: 5px;
|
143 |
border-radius: 8px;
|
144 |
}
|
145 |
+
#bottom_text {
|
146 |
+
text-align: center;
|
147 |
+
margin-top: 50px;
|
148 |
+
font-weight: bold;
|
149 |
+
font-size: 20px;
|
150 |
+
}
|
151 |
+
.block.svelte-11xb1hd{
|
152 |
+
background: none !important;
|
153 |
+
}
|
154 |
""")
|
155 |
|
156 |
with iface:
|
|
|
162 |
gr.Markdown(bottom_text, elem_id="bottom_text")
|
163 |
|
164 |
iface.launch(share=True)
|
165 |
+
|