Spaces:
Runtime error
Runtime error
ruanchaves
commited on
Commit
•
266bb0a
1
Parent(s):
abadb7c
examples
Browse files
app.py
CHANGED
@@ -117,9 +117,9 @@ def predict(s1, s2, chosen_model):
|
|
117 |
|
118 |
|
119 |
inputs = [
|
120 |
-
gr.inputs.Textbox(label="Text 1"),
|
121 |
-
gr.inputs.Textbox(label="Text 2"),
|
122 |
-
gr.Dropdown(label="Model", choices=user_friendly_name_list,
|
123 |
]
|
124 |
|
125 |
outputs = [
|
|
|
117 |
|
118 |
|
119 |
inputs = [
|
120 |
+
gr.inputs.Textbox(label="Text 1", value=app_examples[0][0]),
|
121 |
+
gr.inputs.Textbox(label="Text 2", value=app_examples[0][1]),
|
122 |
+
gr.Dropdown(label="Model", choices=user_friendly_name_list, value=user_friendly_name_list[0])
|
123 |
]
|
124 |
|
125 |
outputs = [
|