Commit
·
dfebd5e
1
Parent(s):
24736b4
revert back gradio version to fixed the ssr issue
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 📚
|
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 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(
|
|
|
|
| 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()
|