chuuhtetnaing commited on
Commit
358deea
·
1 Parent(s): be3c152

updated the issue in server

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ css = """
52
  }
53
  """
54
 
55
- with gr.Blocks(css=css) as demo:
56
  with gr.Column(elem_id="col-container"):
57
  gr.Markdown("# Myanmar Named Entity Recognition")
58
 
@@ -87,4 +87,4 @@ with gr.Blocks(css=css) as demo:
87
  text_input.submit(fn=tag_text, inputs=text_input, outputs=output)
88
 
89
  if __name__ == "__main__":
90
- demo.launch()
 
52
  }
53
  """
54
 
55
+ with gr.Blocks() as demo:
56
  with gr.Column(elem_id="col-container"):
57
  gr.Markdown("# Myanmar Named Entity Recognition")
58
 
 
87
  text_input.submit(fn=tag_text, inputs=text_input, outputs=output)
88
 
89
  if __name__ == "__main__":
90
+ demo.launch(css=css)