Commit
·
7048a4b
1
Parent(s):
21f96c5
updated
Browse files
app.py
CHANGED
|
@@ -483,6 +483,9 @@ def create_gradio_interface():
|
|
| 483 |
interactive=False
|
| 484 |
)
|
| 485 |
|
|
|
|
|
|
|
|
|
|
| 486 |
with gr.Row():
|
| 487 |
similarity_output = gr.Number(label="Similarity Score", precision=4)
|
| 488 |
status_output = gr.Textbox(label="Status",interactive=False,lines=2, max_lines=10)
|
|
@@ -494,7 +497,7 @@ def create_gradio_interface():
|
|
| 494 |
ai_content_label_input = gr.Textbox(
|
| 495 |
label="Detected Content Type",
|
| 496 |
interactive=False,
|
| 497 |
-
lines=
|
| 498 |
max_lines=10
|
| 499 |
)
|
| 500 |
ai_content_score_input = gr.Number(
|
|
@@ -510,7 +513,7 @@ def create_gradio_interface():
|
|
| 510 |
ai_content_label_generated = gr.Textbox(
|
| 511 |
label="Detected Content Type",
|
| 512 |
interactive=False,
|
| 513 |
-
lines=
|
| 514 |
max_lines=10
|
| 515 |
)
|
| 516 |
|
|
@@ -519,6 +522,7 @@ def create_gradio_interface():
|
|
| 519 |
precision=2,
|
| 520 |
interactive=False
|
| 521 |
)
|
|
|
|
| 522 |
|
| 523 |
|
| 524 |
with gr.Column(scale=1):
|
|
|
|
| 483 |
interactive=False
|
| 484 |
)
|
| 485 |
|
| 486 |
+
with gr.Row():
|
| 487 |
+
gr.Markdown("### Semantic Similarity & Status")
|
| 488 |
+
|
| 489 |
with gr.Row():
|
| 490 |
similarity_output = gr.Number(label="Similarity Score", precision=4)
|
| 491 |
status_output = gr.Textbox(label="Status",interactive=False,lines=2, max_lines=10)
|
|
|
|
| 497 |
ai_content_label_input = gr.Textbox(
|
| 498 |
label="Detected Content Type",
|
| 499 |
interactive=False,
|
| 500 |
+
lines=2,
|
| 501 |
max_lines=10
|
| 502 |
)
|
| 503 |
ai_content_score_input = gr.Number(
|
|
|
|
| 513 |
ai_content_label_generated = gr.Textbox(
|
| 514 |
label="Detected Content Type",
|
| 515 |
interactive=False,
|
| 516 |
+
lines=2,
|
| 517 |
max_lines=10
|
| 518 |
)
|
| 519 |
|
|
|
|
| 522 |
precision=2,
|
| 523 |
interactive=False
|
| 524 |
)
|
| 525 |
+
|
| 526 |
|
| 527 |
|
| 528 |
with gr.Column(scale=1):
|