Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def get_embeddings(text):
|
|
7 |
return model.encode(text).tolist()
|
8 |
|
9 |
gr.Interface(
|
10 |
-
fn=
|
11 |
inputs="text",
|
12 |
outputs="json",
|
13 |
title="DiDef Embeddings"
|
|
|
7 |
return model.encode(text).tolist()
|
8 |
|
9 |
gr.Interface(
|
10 |
+
fn=get_embeddings,
|
11 |
inputs="text",
|
12 |
outputs="json",
|
13 |
title="DiDef Embeddings"
|