Update app_myQ2.py
Browse files- 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="✂
|
| 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()
|