Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ def get_embedding(text):
|
|
10 |
iface = gr.Interface(
|
11 |
fn=get_embedding,
|
12 |
inputs=gr.Textbox(),
|
13 |
-
outputs="
|
14 |
-
api_name="
|
15 |
)
|
16 |
|
17 |
iface.launch()
|
|
|
10 |
iface = gr.Interface(
|
11 |
fn=get_embedding,
|
12 |
inputs=gr.Textbox(),
|
13 |
+
outputs="json",
|
14 |
+
api_name="embed"
|
15 |
)
|
16 |
|
17 |
iface.launch()
|