Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def get_embeddings(sentences):
|
|
| 19 |
interface = gr.Interface(
|
| 20 |
fn=get_embeddings, # Function to call
|
| 21 |
inputs=gr.Textbox(lines=2, placeholder="Enter sentences here, one per line"), # Input component
|
| 22 |
-
outputs=gr.
|
| 23 |
title="Sentence Embeddings", # Interface title
|
| 24 |
description="Enter sentences to get their embeddings." # Description
|
| 25 |
)
|
|
|
|
| 19 |
interface = gr.Interface(
|
| 20 |
fn=get_embeddings, # Function to call
|
| 21 |
inputs=gr.Textbox(lines=2, placeholder="Enter sentences here, one per line"), # Input component
|
| 22 |
+
outputs=gr.DataFrame(),
|
| 23 |
title="Sentence Embeddings", # Interface title
|
| 24 |
description="Enter sentences to get their embeddings." # Description
|
| 25 |
)
|