Spaces:
Runtime error
Runtime error
ruanchaves
commited on
Commit
•
153ad02
1
Parent(s):
2fc0ad6
defaults
Browse files
app.py
CHANGED
@@ -104,9 +104,9 @@ def predict(s1, s2, chosen_model):
|
|
104 |
|
105 |
|
106 |
inputs = [
|
107 |
-
gr.inputs.Textbox(label="Sentence A"),
|
108 |
-
gr.inputs.Textbox(label="Sentence B"),
|
109 |
-
gr.Dropdown(label="Model", choices=user_friendly_name_list,
|
110 |
]
|
111 |
|
112 |
outputs = [
|
|
|
104 |
|
105 |
|
106 |
inputs = [
|
107 |
+
gr.inputs.Textbox(label="Sentence A", value=app_examples[0][0]),
|
108 |
+
gr.inputs.Textbox(label="Sentence B", value=app_examples[0][1]),
|
109 |
+
gr.Dropdown(label="Model", choices=user_friendly_name_list, value=user_friendly_name_list[0])
|
110 |
]
|
111 |
|
112 |
outputs = [
|