Update app.py
Browse files
app.py
CHANGED
|
@@ -153,9 +153,33 @@ with gr.Blocks() as app2:
|
|
| 153 |
|
| 154 |
""")
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
with gr.Blocks() as demo:
|
| 157 |
-
gr.Markdown("## To-Do Samuraizer 🥷 + Stock-Out Squirrel🦫 ##")
|
| 158 |
-
gr.TabbedInterface([app1, app2], ["➀ To-Do", "➁ SOS"])
|
| 159 |
|
| 160 |
demo.queue()
|
| 161 |
demo.launch()
|
|
|
|
| 153 |
|
| 154 |
""")
|
| 155 |
|
| 156 |
+
with gr.Blocks() as app3:
|
| 157 |
+
with gr.Column():
|
| 158 |
+
gr.Markdown("## 🐇 Route Planning Rabbit ##")
|
| 159 |
+
gr.Markdown("```Win+Screenshot, paste ERP Inv ⌨ screenshot here...```")
|
| 160 |
+
image_box = gr.Image(label="✂ Pick list",type="filepath")
|
| 161 |
+
btn1 = gr.Button("Generate a Route Plan ☑")
|
| 162 |
+
out1 = gr.Textbox(label="here is the watch list 📄...")
|
| 163 |
+
btn2 = gr.Button("send to Mobile ↗️")
|
| 164 |
+
out2 = gr.Textbox(label="response or feed back?")
|
| 165 |
+
|
| 166 |
+
btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
|
| 167 |
+
btn2.click(fn=send_SMS, inputs=out1, outputs=out2)
|
| 168 |
+
|
| 169 |
+
gr.Markdown("""
|
| 170 |
+
# 🐇 Route Planning #
|
| 171 |
+
(concept prototype)
|
| 172 |
+
- screen capture (Win + shift + S)
|
| 173 |
+
- click ☑ to upload
|
| 174 |
+
- await LLM Bot (Gemini, in this case) response
|
| 175 |
+
- send ↗️ to related parties
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
""")
|
| 179 |
+
|
| 180 |
with gr.Blocks() as demo:
|
| 181 |
+
gr.Markdown("## To-Do Samuraizer 🥷 + Stock-Out Squirrel🦫 + Routing 🐇 ##")
|
| 182 |
+
gr.TabbedInterface([app1, app2, app3], ["➀ To-Do", "➁ SOS", "➂ Picking Routes"])
|
| 183 |
|
| 184 |
demo.queue()
|
| 185 |
demo.launch()
|