Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -241,7 +241,7 @@ def app_interface():
|
|
241 |
submit_button_connector = gr.Button("Generate Embeddings")
|
242 |
output_display_connector = gr.JSON(label="Embeddings Output")
|
243 |
submit_button_connector.click(
|
244 |
-
fn=
|
245 |
inputs=[model_dropdown_connector, input_text_box_connector],
|
246 |
outputs=output_display_connector
|
247 |
)
|
|
|
241 |
submit_button_connector = gr.Button("Generate Embeddings")
|
242 |
output_display_connector = gr.JSON(label="Embeddings Output")
|
243 |
submit_button_connector.click(
|
244 |
+
fn=generate_and_format_embeddings,
|
245 |
inputs=[model_dropdown_connector, input_text_box_connector],
|
246 |
outputs=output_display_connector
|
247 |
)
|