starmaq commited on
Commit
ed4dd36
·
1 Parent(s): 5da5b63

updated requirements.txt

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. 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