Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -331,11 +331,11 @@ with gr.Blocks() as app:
|
|
| 331 |
gr.HTML(create_modal_window())
|
| 332 |
gr.HTML(modal_js())
|
| 333 |
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
|
| 340 |
|
| 341 |
login_button.click(
|
|
|
|
| 331 |
gr.HTML(create_modal_window())
|
| 332 |
gr.HTML(modal_js())
|
| 333 |
|
| 334 |
+
backend_interface = gr.Interface(
|
| 335 |
+
fn=process_checkout,
|
| 336 |
+
inputs=["text", "text"], # Expect cart summary and total bill as inputs
|
| 337 |
+
outputs="text" # Return a text response
|
| 338 |
+
)
|
| 339 |
|
| 340 |
|
| 341 |
login_button.click(
|