Surajrgl commited on
Commit
7288907
·
1 Parent(s): 5e9b1b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ model = SentenceTransformer('sentence-transformers/multi-qa-mpnet-base-cos-v1')
5
 
6
 
7
  def generate_embedding(query):
8
- return str(model.encode(query))
 
9
 
10
  demo = gr.Interface(fn=generate_embedding, inputs="text", outputs="text")
11
 
 
5
 
6
 
7
  def generate_embedding(query):
8
+ return "Connected"
9
+ # return str(model.encode(query))
10
 
11
  demo = gr.Interface(fn=generate_embedding, inputs="text", outputs="text")
12