Dimitre commited on
Commit
ceeed84
1 Parent(s): 2e8db20

Adding title and description

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -28,6 +28,8 @@ encoder = pull_from_hub(repo_id="Dimitre/bert_en_cased_L-12_H-768_A-12")
28
  model = model_fn(preprocessor, encoder)
29
 
30
  iface = gr.Interface(fn=predict_fn,
 
 
31
  inputs=gr.Textbox(lines=2, placeholder="Text input here...", label="Text"),
32
  outputs="text",
33
  examples=[["Hello! This is a random sentence"]])
 
28
  model = model_fn(preprocessor, encoder)
29
 
30
  iface = gr.Interface(fn=predict_fn,
31
+ title="BERT sentence embeddings",
32
+ description="Get the embeddings from your sentences using BERT",
33
  inputs=gr.Textbox(lines=2, placeholder="Text input here...", label="Text"),
34
  outputs="text",
35
  examples=[["Hello! This is a random sentence"]])