Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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()
|