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

Update app_myQ2.py

Browse files
Files changed (1) hide show
  1. app_myQ2.py +4 -4
app_myQ2.py CHANGED
@@ -100,7 +100,7 @@ def send_SMS(resp_text):
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("点评这盘菜 ☑")
@@ -125,9 +125,9 @@ 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="✂ 乐意保墙,与LOGO拍", type="filepath")
131
  btn_selfie1 = gr.Button("生成趣味点评 ☑")
132
  out_selfife1 = gr.Textbox(label="here are the actionables...")
133
  btn_selfie2 = gr.Button("(disabled)发短信 ↗️")
@@ -155,7 +155,7 @@ with gr.Blocks() as app_selfie:
155
 
156
  with gr.Blocks() as demo:
157
  gr.Markdown("## 自拍 ↗️ + 餐盘 🥷 ##")
158
- gr.TabbedInterface([app_selfie, app1], ["➀ 点评我的自拍", "➁ 点评我的餐盘"])
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("点评这盘菜 ☑")
 
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)发短信 ↗️")
 
155
 
156
  with gr.Blocks() as demo:
157
  gr.Markdown("## 自拍 ↗️ + 餐盘 🥷 ##")
158
+ gr.TabbedInterface([app_selfie, app1], ["➀ 自拍", "➁ 餐盘"])
159
 
160
  demo.queue()
161
  demo.launch()