hsienchen commited on
Commit
fe3be0f
β€’
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()