Spaces:
Running
Running
Commit
·
ace1287
1
Parent(s):
f3257c5
upadted
Browse files
app.py
CHANGED
|
@@ -474,17 +474,15 @@ def create_gradio_interface():
|
|
| 474 |
status_output = gr.Textbox(label="Status",interactive=False,lines=2, max_lines=10)
|
| 475 |
|
| 476 |
with gr.Row():
|
| 477 |
-
gr.Markdown("
|
| 478 |
|
| 479 |
with gr.Row():
|
| 480 |
-
with gr.Column():
|
| 481 |
ai_content_label_input = gr.Textbox(
|
| 482 |
label="AI Content Detection",
|
| 483 |
interactive=False,
|
| 484 |
-
lines=
|
| 485 |
max_lines=10
|
| 486 |
)
|
| 487 |
-
with gr.Column():
|
| 488 |
ai_content_score_input = gr.Number(
|
| 489 |
label="Confidence Score",
|
| 490 |
precision=2,
|
|
@@ -492,22 +490,21 @@ def create_gradio_interface():
|
|
| 492 |
)
|
| 493 |
|
| 494 |
with gr.Row():
|
| 495 |
-
gr.Markdown("
|
| 496 |
|
| 497 |
with gr.Row():
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
)
|
| 511 |
|
| 512 |
|
| 513 |
with gr.Column(scale=1):
|
|
|
|
| 474 |
status_output = gr.Textbox(label="Status",interactive=False,lines=2, max_lines=10)
|
| 475 |
|
| 476 |
with gr.Row():
|
| 477 |
+
gr.Markdown("### Given Input Text Analysis")
|
| 478 |
|
| 479 |
with gr.Row():
|
|
|
|
| 480 |
ai_content_label_input = gr.Textbox(
|
| 481 |
label="AI Content Detection",
|
| 482 |
interactive=False,
|
| 483 |
+
lines=1,
|
| 484 |
max_lines=10
|
| 485 |
)
|
|
|
|
| 486 |
ai_content_score_input = gr.Number(
|
| 487 |
label="Confidence Score",
|
| 488 |
precision=2,
|
|
|
|
| 490 |
)
|
| 491 |
|
| 492 |
with gr.Row():
|
| 493 |
+
gr.Markdown("### ✍️ Humanized Text Analysis")
|
| 494 |
|
| 495 |
with gr.Row():
|
| 496 |
+
ai_content_label_generated = gr.Textbox(
|
| 497 |
+
label="AI Content Detection",
|
| 498 |
+
interactive=False,
|
| 499 |
+
lines=1,
|
| 500 |
+
max_lines=10
|
| 501 |
+
)
|
| 502 |
+
|
| 503 |
+
ai_content_score_generated = gr.Number(
|
| 504 |
+
label="Confidence Score",
|
| 505 |
+
precision=2,
|
| 506 |
+
interactive=False
|
| 507 |
+
)
|
|
|
|
| 508 |
|
| 509 |
|
| 510 |
with gr.Column(scale=1):
|