Spaces:
Runtime error
Runtime error
Adding title and description
Browse files
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"]])
|