Update sentence_compare.py
Browse files- sentence_compare.py +2 -1
sentence_compare.py
CHANGED
@@ -14,4 +14,5 @@ def compare(input):
|
|
14 |
|
15 |
model = SentenceTransformer("all-MiniLM-L6-v2")
|
16 |
demo = gr.Interface(fn=compare, inputs="textarea", outputs="text")
|
17 |
-
demo.launch()
|
|
|
|
14 |
|
15 |
model = SentenceTransformer("all-MiniLM-L6-v2")
|
16 |
demo = gr.Interface(fn=compare, inputs="textarea", outputs="text")
|
17 |
+
demo.launch()
|
18 |
+
gr.close_all()
|