Update app.py
Browse files
app.py
CHANGED
|
@@ -621,8 +621,7 @@ def process_text(text, selected_model, num_keywords, ngram_min, ngram_max, progr
|
|
| 621 |
|
| 622 |
# Create Gradio interface
|
| 623 |
def create_interface():
|
| 624 |
-
|
| 625 |
-
with gr.Blocks(title="Keyword Extraction Tool") as demo:
|
| 626 |
gr.Markdown("""
|
| 627 |
# Keyword Extraction Explorer Tool
|
| 628 |
|
|
@@ -832,5 +831,4 @@ def create_interface():
|
|
| 832 |
|
| 833 |
if __name__ == "__main__":
|
| 834 |
demo = create_interface()
|
| 835 |
-
|
| 836 |
-
demo.launch(ssr_mode=False, theme=gr.themes.Soft())
|
|
|
|
| 621 |
|
| 622 |
# Create Gradio interface
|
| 623 |
def create_interface():
|
| 624 |
+
with gr.Blocks(title="Keyword Extraction Tool", theme=gr.themes.Soft()) as demo:
|
|
|
|
| 625 |
gr.Markdown("""
|
| 626 |
# Keyword Extraction Explorer Tool
|
| 627 |
|
|
|
|
| 831 |
|
| 832 |
if __name__ == "__main__":
|
| 833 |
demo = create_interface()
|
| 834 |
+
demo.launch()
|
|
|