sabridsn commited on
Commit
a7535a4
1 Parent(s): d67f838

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ import gradio as gr
117
 
118
  iface = gr.Interface(
119
  fn=ner_inference, # The function to call for prediction
120
- inputs=gr.Textbox(lines=5, placeholder="Enter Japanese text for NER...", default=sample_text), # Input widget with sample text
121
  outputs="html", # Output will be in HTML format using displacy
122
  title="Japanese Named Entity Recognition (NER)",
123
  description="Enter Japanese text and see the named entities highlighted in the output."
 
117
 
118
  iface = gr.Interface(
119
  fn=ner_inference, # The function to call for prediction
120
+ inputs=gr.Textbox(lines=5, placeholder="Enter Japanese text for NER...", value=sample_text), # Input widget with sample text
121
  outputs="html", # Output will be in HTML format using displacy
122
  title="Japanese Named Entity Recognition (NER)",
123
  description="Enter Japanese text and see the named entities highlighted in the output."