levimack commited on
Commit
0a1635b
·
verified ·
1 Parent(s): fa1f8f2

Update sentence_compare.py

Browse files
Files changed (1) hide show
  1. 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()