codeblacks commited on
Commit
5f04dc2
·
verified ·
1 Parent(s): 3777eab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.outputs.Textbox(label="Embeddings"),
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
  )