updated requirements.txt
Browse files- app.py +3 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -8,4 +8,6 @@ def give_embeddings(sentence):
|
|
8 |
return json.dumps(model.encode([sentence])[0])
|
9 |
|
10 |
demo = gr.Interface(fn=give_embeddings, inputs="text", outputs="text")
|
11 |
-
demo.launch()
|
|
|
|
|
|
8 |
return json.dumps(model.encode([sentence])[0])
|
9 |
|
10 |
demo = gr.Interface(fn=give_embeddings, inputs="text", outputs="text")
|
11 |
+
demo.launch()
|
12 |
+
|
13 |
+
!pip install
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
sentence_transformers
|