mihalykiss commited on
Commit
5e5a50a
·
1 Parent(s): 911b4eb

UI - theme

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -51,10 +51,8 @@ title = "AI Text Detector"
51
  description = """
52
  **AI detection tool by SzegedAI**
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.
57
- - **✅ Human Verification**: Marks confidently human-written text with a green checkmark.
58
 
59
  **Note:** The longer the text, the better the detection accuracy.
60
  """
@@ -66,6 +64,8 @@ iface = gr.Blocks(css="""
66
  border-radius: 10px;
67
  border: 2px solid #4CAF50;
68
  font-size: 18px;
 
 
69
  width: 100%;
70
  box-sizing: border-box;
71
  }
@@ -76,8 +76,9 @@ iface = gr.Blocks(css="""
76
  padding: 15px;
77
  background-color: #2E2E3F;
78
  margin-top: 10px;
79
- width: 100%;
80
  box-sizing: border-box;
 
81
  }
82
  body {
83
  background: #1E1E2F;
@@ -134,4 +135,3 @@ with iface:
134
  gr.Markdown(bottom_text, elem_id="bottom_text")
135
 
136
  iface.launch(share=True)
137
-
 
51
  description = """
52
  **AI detection tool by SzegedAI**
53
 
54
+ -- **Identify AI Models:** Reveals which LLM generated the text if detected as AI.
55
+ -- **Human Verification:** Marks human-written text with a green checkmark.
 
 
56
 
57
  **Note:** The longer the text, the better the detection accuracy.
58
  """
 
64
  border-radius: 10px;
65
  border: 2px solid #4CAF50;
66
  font-size: 18px;
67
+ padding: 15px;
68
+ margin-bottom: 20px;
69
  width: 100%;
70
  box-sizing: border-box;
71
  }
 
76
  padding: 15px;
77
  background-color: #2E2E3F;
78
  margin-top: 10px;
79
+ width: 50%;
80
  box-sizing: border-box;
81
+ text-align: center;
82
  }
83
  body {
84
  background: #1E1E2F;
 
135
  gr.Markdown(bottom_text, elem_id="bottom_text")
136
 
137
  iface.launch(share=True)