Update app.py
Browse files
app.py
CHANGED
@@ -185,6 +185,14 @@ class TextDetectionApp:
|
|
185 |
|
186 |
|
187 |
# Initialize the app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
app = TextDetectionApp()
|
189 |
|
190 |
# Gradio Interface
|
@@ -195,8 +203,7 @@ iface = gr.Interface(
|
|
195 |
gr.Radio(choices=["DeBERTa", "RoBERTa", "BERT", "DistilBERT", "DAIGT-Model"], label="Model Choice")
|
196 |
],
|
197 |
outputs="text",
|
198 |
-
title="Text
|
199 |
-
description=
|
200 |
-
)
|
201 |
|
202 |
iface.launch()
|
|
|
185 |
|
186 |
|
187 |
# Initialize the app
|
188 |
+
dec="""Classify text as generated or human-written using DeBERTa, RoBERTa, BERT, DistilBERT, or ensamble (RoBERTa and DeBERTa) with custom Feedforward model 'DAIGT-Model'.
|
189 |
+
\n\nYou can see more details at [DAIGT-Catch-the-AI GitHub Repository](https://github.com/zeyadusf/DAIGT-Catch-the-AI/tree/main)
|
190 |
+
"""
|
191 |
+
|
192 |
+
|
193 |
+
|
194 |
+
|
195 |
+
|
196 |
app = TextDetectionApp()
|
197 |
|
198 |
# Gradio Interface
|
|
|
203 |
gr.Radio(choices=["DeBERTa", "RoBERTa", "BERT", "DistilBERT", "DAIGT-Model"], label="Model Choice")
|
204 |
],
|
205 |
outputs="text",
|
206 |
+
title="Detect AI Generated Text with Multiple Models",
|
207 |
+
description=dec)
|
|
|
208 |
|
209 |
iface.launch()
|