rafmacalaba commited on
Commit
d799589
·
1 Parent(s): e70665f

test now xxdd

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,10 +61,10 @@ def get_model_predictions():
61
 
62
  with gr.Blocks() as demo:
63
  gr.Markdown("## Data Use Detector\n"
64
- "Edit the sample text, then click **Highlight** to annotate entities, or **Get Model Predictions** to see the raw JSON.")
65
 
66
  txt_in = gr.Textbox(label="Input Text", lines=4, value=SAMPLE_TEXT)
67
- highlight_btn = gr.Button("Highlight")
68
  txt_out = gr.HighlightedText(label="Annotated Entities")
69
 
70
  get_pred_btn = gr.Button("Get Model Predictions")
 
61
 
62
  with gr.Blocks() as demo:
63
  gr.Markdown("## Data Use Detector\n"
64
+ "Edit the sample text or input your desired text, then click **Submit** to annotate entities, or **Get Model Predictions** to see the raw JSON.")
65
 
66
  txt_in = gr.Textbox(label="Input Text", lines=4, value=SAMPLE_TEXT)
67
+ highlight_btn = gr.Button("Submit")
68
  txt_out = gr.HighlightedText(label="Annotated Entities")
69
 
70
  get_pred_btn = gr.Button("Get Model Predictions")