keithhon commited on
Commit
bb81e2b
·
1 Parent(s): 8f81112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ model = SentenceTransformer('keithhon/paraphrase-multilingual-MiniLM-L12-v2')
5
  def compute_embedding(name):
6
  return model.encode(name)
7
 
8
- iface = gr.Interface(fn=compute_embedding, inputs="text", outputs="embedding")
9
  iface.launch()
 
5
  def compute_embedding(name):
6
  return model.encode(name)
7
 
8
+ iface = gr.Interface(fn=compute_embedding, inputs="text", outputs="text")
9
  iface.launch()