Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,11 +83,11 @@ def app_interface():
|
|
| 83 |
compute_button
|
| 84 |
output_display
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
|
| 92 |
|
| 93 |
return demo
|
|
|
|
| 83 |
compute_button
|
| 84 |
output_display
|
| 85 |
|
| 86 |
+
compute_button.click(
|
| 87 |
+
fn=compute_embeddings,
|
| 88 |
+
inputs=[task_dropdown, input_text_box],
|
| 89 |
+
outputs=output_display
|
| 90 |
+
)
|
| 91 |
|
| 92 |
|
| 93 |
return demo
|