Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ iface = gr.Interface(
|
|
| 146 |
),
|
| 147 |
outputs=gr.HTML(label="Analysis Result"),
|
| 148 |
title="<div id='title'>🔍 AI Text Classifier</div>",
|
| 149 |
-
description="<div id='description'>Detect whether text is human-written or AI-generated using advanced NLP</div>",
|
| 150 |
theme=gr.themes.Soft(
|
| 151 |
primary_hue="purple",
|
| 152 |
secondary_hue="pink",
|
|
@@ -154,7 +154,8 @@ iface = gr.Interface(
|
|
| 154 |
font=gr.themes.GoogleFont("Inter")
|
| 155 |
),
|
| 156 |
css=custom_css,
|
| 157 |
-
flagging_mode="never"
|
|
|
|
| 158 |
)
|
| 159 |
|
| 160 |
-
iface.launch()
|
|
|
|
| 146 |
),
|
| 147 |
outputs=gr.HTML(label="Analysis Result"),
|
| 148 |
title="<div id='title'>🔍 AI Text Classifier</div>",
|
| 149 |
+
description="<div id='description'>Detect whether text is human-written or AI-generated using advanced NLP<br><span style='font-size: 0.85em; opacity: 0.7; margin-top: 8px; display: inline-block;'>Model by Dergaoui Ayoub</span></div>",
|
| 150 |
theme=gr.themes.Soft(
|
| 151 |
primary_hue="purple",
|
| 152 |
secondary_hue="pink",
|
|
|
|
| 154 |
font=gr.themes.GoogleFont("Inter")
|
| 155 |
),
|
| 156 |
css=custom_css,
|
| 157 |
+
flagging_mode="never",
|
| 158 |
+
allow_flagging="never"
|
| 159 |
)
|
| 160 |
|
| 161 |
+
iface.launch(share=False)
|