Spaces:
Sleeping
Sleeping
Update app.py
Browse files141 unmodified lines14214314414514514614714819 unmodified lines168169170171172173171172141 unmodified lines spice_level: spiceLevel, selected_extras: selectedExtras }) }).then(response => response.json()).then(data => { }).then(response => response.text()).then(data => { const cartDisplay = document.querySelector('#cart-display'); if (cartDisplay) { cartDisplay.innerHTML = data;19 unmodified lines }) return update_cart()
cart_endpoint = gr.Interface(add_to_cart_backend, inputs=["text", "text", "list"], outputs="html")cart_endpoint.launch(share=True, inbrowser=False)
# Remove standalone cart interfacedemo.launch()app.py+2-4