naughtondale commited on
Commit
b09a226
·
verified ·
1 Parent(s): 9473fa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def llm_response(history,text,img):
41
  return history
42
 
43
  def get_user_message():
44
- return ("Craft a weekly menu, Monday - Sunday (without dates) in style of the attached image, presenting the entire menu for each day one after the other, vertically, each celebrating fusion cuisine, blending elements from different culinary traditions into innovative dishes. Each day, present a chicken or fish or beef/pork, and vegetarian main dish that combines flavors and techniques from two or more cuisines. Accompany these with creatively paired side dishes (including rice and no rice options), salads that merge diverse ingredients harmoniously, and desserts that are a fusion of traditional treats. Additionally, offer a fusion-inspired soup of the day or salad as a complete meal choice, ensuring a delightful and surprising blend of tastes and textures.")
45
 
46
  # Interface Code
47
  with gr.Blocks() as app:
@@ -52,7 +52,7 @@ with gr.Blocks() as app:
52
  "3. Copy and paste the generated menus into the Excel document where they are kept.\n\n"
53
  "4. CUSTOMIZE or EDIT items in any generated menu based on your own knowledge and judgement as a chef or cook about what will work best for Maggie's kitchen and customers.\n\n"
54
  "5. Click 'Clear' to upload other historical menu data to generate new menus.\n\n"
55
- "<strong>Note:</strong>. If the model outputs an error or takes longer than 2 minutes to generate an answer, just click the refresh button on your browser page and restart your image upload process.")
56
 
57
 
58
 
 
41
  return history
42
 
43
  def get_user_message():
44
+ return ("Craft a weekly menu, Monday - Sunday (without dates) in style of the attached image, presenting the entire menu for each day one after the other, vertically, each celebrating fusion cuisine, blending elements from different culinary traditions into innovative dishes. Each day, present a chicken or fish or beef/pork, and vegetarian main dish that combines flavors and techniques from two or more cuisines. Accompany these with creatively paired side dishes (including rice and no rice options), salads that merge diverse ingredients harmoniously, and desserts that are a fusion of traditional treats. Additionally, each day offer a fusion-inspired soup of the day or salad as a complete meal choice, ensuring a delightful and surprising blend of tastes and textures.")
45
 
46
  # Interface Code
47
  with gr.Blocks() as app:
 
52
  "3. Copy and paste the generated menus into the Excel document where they are kept.\n\n"
53
  "4. CUSTOMIZE or EDIT items in any generated menu based on your own knowledge and judgement as a chef or cook about what will work best for Maggie's kitchen and customers.\n\n"
54
  "5. Click 'Clear' to upload other historical menu data to generate new menus.\n\n"
55
+ "<strong>Note:</strong>. If the model outputs an 'Error' or takes longer than 2 minutes to generate an answer, just click the refresh button on your browser bar or page and restart your image upload process.")
56
 
57
 
58