innocent-charles
commited on
Commit
•
4297bcd
1
Parent(s):
68721f5
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,7 @@ sentence_to_compare_inputs = [
|
|
40 |
]
|
41 |
|
42 |
num_sentences_input = gr.Slider(minimum=1, maximum=10, step=1, value=3, label="Number of Sentences to Compare")
|
|
|
43 |
|
44 |
# Function to dynamically update the interface
|
45 |
def update_interface(num_sentences):
|
|
|
40 |
]
|
41 |
|
42 |
num_sentences_input = gr.Slider(minimum=1, maximum=10, step=1, value=3, label="Number of Sentences to Compare")
|
43 |
+
outputs = gr.JSON(label="Detailed Similarity Scores")
|
44 |
|
45 |
# Function to dynamically update the interface
|
46 |
def update_interface(num_sentences):
|