Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -94,6 +94,7 @@ def generate_custom_dish():
|
|
94 |
'Name': dish_name,
|
95 |
'Price__c': price,
|
96 |
'Image1__c': item_image_url,
|
|
|
97 |
'Description__c': description,
|
98 |
'Veg_NonVeg__c': category,
|
99 |
'Total_Ordered__c': 0
|
@@ -111,8 +112,7 @@ def generate_custom_dish():
|
|
111 |
'Name': dish_name,
|
112 |
'Price__c': price,
|
113 |
'Base_Price__c': price,
|
114 |
-
'Image1__c':
|
115 |
-
'Image2__c': item_image_url,
|
116 |
'Quantity__c': 1, # Assuming a default quantity of 1 for the custom dish
|
117 |
'Add_Ons__c': '', # Set Add_ons__c to empty
|
118 |
'Add_Ons_Price__c': 0, # Set Add_Ons_Price__c to 0
|
|
|
94 |
'Name': dish_name,
|
95 |
'Price__c': price,
|
96 |
'Image1__c': item_image_url,
|
97 |
+
'Image2__c': item_image_url2,
|
98 |
'Description__c': description,
|
99 |
'Veg_NonVeg__c': category,
|
100 |
'Total_Ordered__c': 0
|
|
|
112 |
'Name': dish_name,
|
113 |
'Price__c': price,
|
114 |
'Base_Price__c': price,
|
115 |
+
'Image1__c': item_image_url,
|
|
|
116 |
'Quantity__c': 1, # Assuming a default quantity of 1 for the custom dish
|
117 |
'Add_Ons__c': '', # Set Add_ons__c to empty
|
118 |
'Add_Ons_Price__c': 0, # Set Add_Ons_Price__c to 0
|