Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ interface = gr.Interface(
|
|
| 13 |
fn=get_embeddings, # Function to call
|
| 14 |
inputs=gr.Textbox(lines=2, placeholder="Enter sentences here, one per line"), # Input component
|
| 15 |
# outputs=gr.JSON(),
|
| 16 |
-
outputs=gr.
|
| 17 |
title="Sentence Embeddings", # Interface title
|
| 18 |
description="Enter sentences to get their embeddings." # Description
|
| 19 |
)
|
|
|
|
| 13 |
fn=get_embeddings, # Function to call
|
| 14 |
inputs=gr.Textbox(lines=2, placeholder="Enter sentences here, one per line"), # Input component
|
| 15 |
# outputs=gr.JSON(),
|
| 16 |
+
outputs=gr.Textbox(label="Embeddings"),
|
| 17 |
title="Sentence Embeddings", # Interface title
|
| 18 |
description="Enter sentences to get their embeddings." # Description
|
| 19 |
)
|