chuuhtetnaing commited on
Commit
dfebd5e
·
1 Parent(s): 24736b4

revert back gradio version to fixed the ssr issue

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📚
4
  colorFrom: purple
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 6.2.0
8
  app_file: app.py
9
  pinned: true
10
  short_description: Myanmar Text Segmentation Application
 
4
  colorFrom: purple
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 5.44.0
8
  app_file: app.py
9
  pinned: true
10
  short_description: Myanmar Text Segmentation Application
app.py CHANGED
@@ -44,7 +44,7 @@ css = """
44
  }
45
  """
46
 
47
- with gr.Blocks() as demo:
48
  with gr.Column(elem_id="col-container"):
49
  gr.Markdown("# Myanmar Text Segmentation")
50
 
@@ -79,4 +79,4 @@ with gr.Blocks() as demo:
79
  input_text.submit(fn=segment_text, inputs=input_text, outputs=output_text)
80
 
81
  if __name__ == "__main__":
82
- demo.launch(css=css)
 
44
  }
45
  """
46
 
47
+ with gr.Blocks(css=css) as demo:
48
  with gr.Column(elem_id="col-container"):
49
  gr.Markdown("# Myanmar Text Segmentation")
50
 
 
79
  input_text.submit(fn=segment_text, inputs=input_text, outputs=output_text)
80
 
81
  if __name__ == "__main__":
82
+ demo.launch()