Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ import gradio as gr
|
|
| 22 |
|
| 23 |
### Clean text for better detection performance
|
| 24 |
from utils import clean_text
|
| 25 |
-
from html_blocks import FEATURES_HTML
|
| 26 |
from css_blocks import CSS_ELEMENTS
|
| 27 |
|
| 28 |
|
|
@@ -133,6 +133,7 @@ with gr.Blocks(css=CSS_ELEMENTS, title="AI WRITTEN TEXT DETECTOR") as demo:
|
|
| 133 |
features_desc = gr.HTML(FEATURES_HTML, elem_classes=["features_description"])
|
| 134 |
|
| 135 |
button = gr.Button("Analyze Text", elem_classes=["analyze_btn"])
|
|
|
|
| 136 |
|
| 137 |
with gr.Column():
|
| 138 |
with gr.Row():
|
|
|
|
| 22 |
|
| 23 |
### Clean text for better detection performance
|
| 24 |
from utils import clean_text
|
| 25 |
+
from html_blocks import FEATURES_HTML, NOTE_HTML
|
| 26 |
from css_blocks import CSS_ELEMENTS
|
| 27 |
|
| 28 |
|
|
|
|
| 133 |
features_desc = gr.HTML(FEATURES_HTML, elem_classes=["features_description"])
|
| 134 |
|
| 135 |
button = gr.Button("Analyze Text", elem_classes=["analyze_btn"])
|
| 136 |
+
gr.HTML(NOTE_HTML)
|
| 137 |
|
| 138 |
with gr.Column():
|
| 139 |
with gr.Row():
|