bluuebunny commited on
Commit
798cc05
·
1 Parent(s): 62923ee

changed output type to numpy and added description

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ def predict(input_text):
22
  gradio_app = gr.Interface(
23
  predict,
24
  inputs="text",
25
- outputs="text",
26
- title="Embeddings"
 
27
  )
28
 
29
  if __name__ == "__main__":
 
22
  gradio_app = gr.Interface(
23
  predict,
24
  inputs="text",
25
+ outputs="numpy",
26
+ title="Text to Vector Generator",
27
+ description="Input a text and get its vector representation using an embedding model."
28
  )
29
 
30
  if __name__ == "__main__":