Rammohan0504 commited on
Commit
8bb5462
·
verified ·
1 Parent(s): 0baff77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -100,12 +100,7 @@ with gr.Blocks() as demo:
100
  <label>Spice Level:</label>
101
  <select id="spice-select">""" + "".join([f'<option>{spice}</option>' for spice in spice_levels]) + """</select>
102
  <label>Extras:</label>
103
- gr.HTML(f"""
104
- <div id="extras-select">
105
- """ + "".join([f"<label><input type='checkbox' value='{extra['name']}'>{extra['name']} + {extra['price']}</label>" for extra in extras]) + """
106
- </div>
107
- """)
108
-
109
  <button onclick="submitPopup()">Add to Cart</button>
110
  <button onclick="closePopup()">Close</button>
111
  </div>
 
100
  <label>Spice Level:</label>
101
  <select id="spice-select">""" + "".join([f'<option>{spice}</option>' for spice in spice_levels]) + """</select>
102
  <label>Extras:</label>
103
+ gr.HTML(f"""<div id="extras-select">""" + "".join([f"<label><input type='checkbox' value='{extra['name']}'>{extra['name']} + {extra['price']}</label>" for extra in extras]) + """</div>""")
 
 
 
 
 
104
  <button onclick="submitPopup()">Add to Cart</button>
105
  <button onclick="closePopup()">Close</button>
106
  </div>