minemaster01 commited on
Commit
c4a59c2
·
verified ·
1 Parent(s): 9b6c1d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -116,7 +116,9 @@ with gr.Blocks() as app:
116
  gr.Markdown("Machine Generated Text Detector")
117
  with gr.Row():
118
  input_box = gr.Textbox(label="Input Text", lines=10)
119
- output_box = gr.HTML(label="Output Text")
 
 
120
  with gr.Row():
121
  submit_btn = gr.Button("Submit")
122
  clear_btn = gr.Button("Clear")
 
116
  gr.Markdown("Machine Generated Text Detector")
117
  with gr.Row():
118
  input_box = gr.Textbox(label="Input Text", lines=10)
119
+ with gr.Row():
120
+ output_html = gr.HTML(label="Color-Coded Output")
121
+ output_json = gr.JSON(label="Word Probabilities")
122
  with gr.Row():
123
  submit_btn = gr.Button("Submit")
124
  clear_btn = gr.Button("Clear")