Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ gr.Interface(
|
|
| 94 |
inputs=["text", "text"],
|
| 95 |
examples=examples,
|
| 96 |
#outputs=gr.Textbox(label='Prediction'),
|
| 97 |
-
outputs=gr.outputs.Label(num_top_classes=3, label='Semantic similarity
|
| 98 |
cache_examples=False,
|
| 99 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/nlp/semantic_similarity_with_bert/\">Mohamad Merchant</a>",
|
| 100 |
).launch(debug=True, enable_queue=True)
|
|
|
|
| 94 |
inputs=["text", "text"],
|
| 95 |
examples=examples,
|
| 96 |
#outputs=gr.Textbox(label='Prediction'),
|
| 97 |
+
outputs=gr.outputs.Label(num_top_classes=3, label='Semantic similarity'),
|
| 98 |
cache_examples=False,
|
| 99 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/nlp/semantic_similarity_with_bert/\">Mohamad Merchant</a>",
|
| 100 |
).launch(debug=True, enable_queue=True)
|