DexterSptizu
commited on
Commit
•
86f4f00
1
Parent(s):
062efa5
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def calculate_similarity(sentence1, sentence2):
|
|
13 |
iface = gr.Interface(
|
14 |
fn=calculate_similarity,
|
15 |
inputs=[
|
16 |
-
gr.
|
17 |
-
gr.
|
18 |
],
|
19 |
outputs="number",
|
20 |
title="Sentence Similarity with WordLlama",
|
|
|
13 |
iface = gr.Interface(
|
14 |
fn=calculate_similarity,
|
15 |
inputs=[
|
16 |
+
gr.Textbox(lines=2, placeholder="Enter first sentence..."),
|
17 |
+
gr.Textbox(lines=2, placeholder="Enter second sentence...")
|
18 |
],
|
19 |
outputs="number",
|
20 |
title="Sentence Similarity with WordLlama",
|