hsienchen commited on
Commit
fe3be0f
·
verified ·
1 Parent(s): c80084f

Update app_myQ2.py

Browse files
Files changed (1) hide show
  1. app_myQ2.py +9 -9
app_myQ2.py CHANGED
@@ -100,10 +100,10 @@ def send_SMS(resp_text):
100
  # gradio block
101
  with gr.Blocks() as app1:
102
  with gr.Column():
103
- gr.Markdown("## 🥷 FoodCAM ##")
104
  gr.Markdown("```for xxxxxx ✉ and/or xxx ⌦, include photo here...```")
105
- image_box = gr.Image(label="✂ 拍照餐盘", type="filepath")
106
- btn1 = gr.Button("Generate Nutritioins Table ☑")
107
  out1 = gr.Textbox(label="here are the actionables...")
108
  btn2 = gr.Button("(disabled)发短信 ↗️")
109
  out2 = gr.Textbox(label="(disabled) no message been sent, this is just a mockup confirmation...")
@@ -125,10 +125,10 @@ with gr.Blocks() as app1:
125
 
126
  with gr.Blocks() as app_selfie:
127
  with gr.Column():
128
- gr.Markdown("## ↗️ 与乐意保合拍 ##")
129
  gr.Markdown("```xxxx ⌦, paste screenshot here...```")
130
- image_box = gr.Image(label="✂ 乐意保墙", type="filepath")
131
- btn_selfie1 = gr.Button("生成点评 ☑")
132
  out_selfife1 = gr.Textbox(label="here are the actionables...")
133
  btn_selfie2 = gr.Button("(disabled)发短信 ↗️")
134
  out_selfife2 = gr.Textbox(label="(disabled) no message been sent, this is just a mockup confirmation...")
@@ -138,7 +138,7 @@ with gr.Blocks() as app_selfie:
138
 
139
 
140
  gr.Markdown("""
141
- # ↗️ 与乐意保合拍 #
142
 
143
  - screen capture (Win + shift + S)
144
  - use MD editor below
@@ -154,8 +154,8 @@ with gr.Blocks() as app_selfie:
154
 
155
 
156
  with gr.Blocks() as demo:
157
- gr.Markdown("## Logo Selfie w 乐意保 ↗️ + FoodCAM 🥷 ##")
158
- gr.TabbedInterface([app_selfie, app1], ["➀ 合拍乐意保", "➁ FoodCAM"])
159
 
160
  demo.queue()
161
  demo.launch()
 
100
  # gradio block
101
  with gr.Blocks() as app1:
102
  with gr.Column():
103
+ gr.Markdown("## 🥷 点评餐盘 ##")
104
  gr.Markdown("```for xxxxxx ✉ and/or xxx ⌦, include photo here...```")
105
+ image_box = gr.Image(label="✂ 对象:餐盘", type="filepath")
106
+ btn1 = gr.Button("点评这盘菜 ☑")
107
  out1 = gr.Textbox(label="here are the actionables...")
108
  btn2 = gr.Button("(disabled)发短信 ↗️")
109
  out2 = gr.Textbox(label="(disabled) no message been sent, this is just a mockup confirmation...")
 
125
 
126
  with gr.Blocks() as app_selfie:
127
  with gr.Column():
128
+ gr.Markdown("## ↗️ 点评自拍(请站在海报墙前面拍) ##")
129
  gr.Markdown("```xxxx ⌦, paste screenshot here...```")
130
+ image_box = gr.Image(label="✂ 乐意保墙,与LOGO合拍", type="filepath")
131
+ btn_selfie1 = gr.Button("生成趣味点评 ☑")
132
  out_selfife1 = gr.Textbox(label="here are the actionables...")
133
  btn_selfie2 = gr.Button("(disabled)发短信 ↗️")
134
  out_selfife2 = gr.Textbox(label="(disabled) no message been sent, this is just a mockup confirmation...")
 
138
 
139
 
140
  gr.Markdown("""
141
+ # ↗️ 与logo合拍 #
142
 
143
  - screen capture (Win + shift + S)
144
  - use MD editor below
 
154
 
155
 
156
  with gr.Blocks() as demo:
157
+ gr.Markdown("## 自拍 ↗️ + 餐盘 🥷 ##")
158
+ gr.TabbedInterface([app_selfie, app1], ["➀ 点评我的自拍", "➁ 点评我的餐盘"])
159
 
160
  demo.queue()
161
  demo.launch()