Spaces:
Sleeping
Sleeping
mihalykiss
commited on
Commit
·
db8f51d
1
Parent(s):
cd3b61f
UI - theme
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ def classify_text(text):
|
|
50 |
title = "Detect AI Generated Texts!"
|
51 |
description = """
|
52 |
|
|
|
53 |
Detect AI-generated texts with precision using the new **ModernBERT** model, fine-tuned for machine-generated text detection, and capable of identifying 40 different models.
|
54 |
|
55 |
-- 🤖 - **Identify AI Models:** Reveals which LLM generated the text if detected as AI.
|
@@ -64,6 +65,9 @@ Detect AI-generated texts with precision using the new **ModernBERT** model, fin
|
|
64 |
bottom_text = "**AI detection tool by SzegedAI**"
|
65 |
|
66 |
iface = gr.Blocks(css="""
|
|
|
|
|
|
|
67 |
#text_input_box {
|
68 |
border-radius: 10px;
|
69 |
border: 2px solid #4CAF50;
|
@@ -106,16 +110,16 @@ iface = gr.Blocks(css="""
|
|
106 |
height: 100vh;
|
107 |
}
|
108 |
.gradio-container {
|
109 |
-
border:
|
110 |
border-radius: 15px;
|
111 |
padding: 30px;
|
112 |
-
box-shadow: 0px 0px
|
113 |
-
max-width:
|
114 |
margin: auto;
|
115 |
}
|
116 |
h1 {
|
117 |
text-align: center;
|
118 |
-
font-size:
|
119 |
font-weight: bold;
|
120 |
margin-bottom: 30px;
|
121 |
}
|
|
|
50 |
title = "Detect AI Generated Texts!"
|
51 |
description = """
|
52 |
|
53 |
+
|
54 |
Detect AI-generated texts with precision using the new **ModernBERT** model, fine-tuned for machine-generated text detection, and capable of identifying 40 different models.
|
55 |
|
56 |
-- 🤖 - **Identify AI Models:** Reveals which LLM generated the text if detected as AI.
|
|
|
65 |
bottom_text = "**AI detection tool by SzegedAI**"
|
66 |
|
67 |
iface = gr.Blocks(css="""
|
68 |
+
|
69 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
|
70 |
+
|
71 |
#text_input_box {
|
72 |
border-radius: 10px;
|
73 |
border: 2px solid #4CAF50;
|
|
|
110 |
height: 100vh;
|
111 |
}
|
112 |
.gradio-container {
|
113 |
+
border: 1px solid #4CAF50;
|
114 |
border-radius: 15px;
|
115 |
padding: 30px;
|
116 |
+
box-shadow: 0px 0px 10px rgba(0,255,0,0.6);
|
117 |
+
max-width: 600px;
|
118 |
margin: auto;
|
119 |
}
|
120 |
h1 {
|
121 |
text-align: center;
|
122 |
+
font-size: 28px;
|
123 |
font-weight: bold;
|
124 |
margin-bottom: 30px;
|
125 |
}
|