codeblacks commited on
Commit
7149c22
·
verified ·
1 Parent(s): f3c5d4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Array(), # Output component
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
  )