AirrStorm commited on
Commit
e4e2d8c
·
1 Parent(s): ead6d87

modified: app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def token_classification(sentence):
30
  # Gradio interface
31
  demo = gr.Interface(
32
  fn=token_classification,
33
- inputs=gr.Textbox(label="Enter your sentence here", placeholder= "Enter a sentence to extract named entities (e.g., 'Lionel Messi plays for Inter Miami in the United States.')", lines=3)
34
  outputs=gr.Textbox(label="Extracted Named Entities", placeholder="The extracted entities will appear here", lines=6),
35
  title="Named Entity Recognition",
36
  description="Extract and classify named entities like people, organizations, and locations from the input text.",
 
30
  # Gradio interface
31
  demo = gr.Interface(
32
  fn=token_classification,
33
+ inputs=gr.Textbox(label="Enter your sentence here", placeholder= "Enter a sentence to extract named entities (e.g., 'Lionel Messi plays for Inter Miami in the United States.')", lines=3),
34
  outputs=gr.Textbox(label="Extracted Named Entities", placeholder="The extracted entities will appear here", lines=6),
35
  title="Named Entity Recognition",
36
  description="Extract and classify named entities like people, organizations, and locations from the input text.",