onkar-waghmode commited on
Commit
ace1287
·
1 Parent(s): f3257c5
Files changed (1) hide show
  1. app.py +15 -18
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("## 🧠 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,
@@ -492,22 +490,21 @@ def create_gradio_interface():
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):
 
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):