onkar-waghmode commited on
Commit
ebc5e42
·
1 Parent(s): c1cc356
Files changed (1) hide show
  1. app.py +35 -8
app.py CHANGED
@@ -474,15 +474,42 @@ 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("## Given Input Text Analysis")
478
- ai_content_label_input = gr.Textbox(label="AI Content Detection", interactive=False)
479
- ai_content_score_input = gr.Number(label="Confidance Score", precision=4, interactive=False)
480
-
 
 
 
 
 
 
 
 
 
 
 
 
 
481
  with gr.Row():
482
- gr.Markdown("## Humanized Text Analysis")
483
- ai_content_label_generated = gr.Textbox(label="AI Content Detection", interactive=False)
484
- ai_content_score_generated = gr.Number(label="Confidance Score", precision=4, interactive=False)
485
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  with gr.Column(scale=1):
487
  gr.Markdown("## 🎛️ Pipeline Configuration")
488
 
 
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
+ with gr.Column():
481
+ ai_content_label_input = gr.Textbox(
482
+ label="AI Content Detection",
483
+ interactive=False,
484
+ lines=2,
485
+ max_lines=10
486
+ )
487
+ with gr.Column():
488
+ ai_content_score_input = gr.Number(
489
+ label="Confidence Score",
490
+ precision=2,
491
+ interactive=False
492
+ )
493
+
494
  with gr.Row():
495
+ gr.Markdown("## ✍️ Humanized Text Analysis")
496
+
497
+ with gr.Row():
498
+ with gr.Column():
499
+ ai_content_label_generated = gr.Textbox(
500
+ label="AI Content Detection",
501
+ interactive=False,
502
+ lines=2,
503
+ max_lines=10
504
+ )
505
+ with gr.Column():
506
+ ai_content_score_generated = gr.Number(
507
+ label="Confidence Score",
508
+ precision=2,
509
+ interactive=False
510
+ )
511
+
512
+
513
  with gr.Column(scale=1):
514
  gr.Markdown("## 🎛️ Pipeline Configuration")
515