Update app.py
Browse files
app.py
CHANGED
@@ -100,11 +100,12 @@ def send_SMS(resp_text):
|
|
100 |
# gradio block
|
101 |
with gr.Blocks() as app1:
|
102 |
with gr.Column():
|
103 |
-
gr.Markdown("
|
|
|
104 |
image_box = gr.Image(label="email screen", type="filepath")
|
105 |
-
btn1 = gr.Button("generate To-Dos")
|
106 |
out1 = gr.Textbox(label="here are the actionables...")
|
107 |
-
btn2 = gr.Button("Send to Mobile")
|
108 |
out2 = gr.Textbox(label="response from SMS gateway...")
|
109 |
|
110 |
btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
|
@@ -124,11 +125,12 @@ with gr.Blocks() as app1:
|
|
124 |
|
125 |
with gr.Blocks() as app2:
|
126 |
with gr.Column():
|
127 |
-
gr.Markdown("
|
|
|
128 |
image_box = gr.Image(label="ERP/Inventory screen",type="filepath")
|
129 |
-
btn1 = gr.Button("check ROQ")
|
130 |
out1 = gr.Textbox(label="here is the watch list...")
|
131 |
-
btn2 = gr.Button("send out reminders")
|
132 |
out2 = gr.Textbox(label="response or feed back?")
|
133 |
|
134 |
btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
|
|
|
100 |
# gradio block
|
101 |
with gr.Blocks() as app1:
|
102 |
with gr.Column():
|
103 |
+
gr.Markdown("## π» Workflow Genie ##")
|
104 |
+
gr.Markdown("```for email β and/or assigment descriptions β¦, paste screenshot here...```")
|
105 |
image_box = gr.Image(label="email screen", type="filepath")
|
106 |
+
btn1 = gr.Button("generate To-Dos β")
|
107 |
out1 = gr.Textbox(label="here are the actionables...")
|
108 |
+
btn2 = gr.Button("Send to Mobile β")
|
109 |
out2 = gr.Textbox(label="response from SMS gateway...")
|
110 |
|
111 |
btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
|
|
|
125 |
|
126 |
with gr.Blocks() as app2:
|
127 |
with gr.Column():
|
128 |
+
gr.Markdown("## π₯· Stock-Out Scarebot ##")
|
129 |
+
gr.Markdown("```Win+Screenshot, paste ERP Inv β¨ screenshot here...```")
|
130 |
image_box = gr.Image(label="ERP/Inventory screen",type="filepath")
|
131 |
+
btn1 = gr.Button("check ROQ π ")
|
132 |
out1 = gr.Textbox(label="here is the watch list...")
|
133 |
+
btn2 = gr.Button("send out reminders β")
|
134 |
out2 = gr.Textbox(label="response or feed back?")
|
135 |
|
136 |
btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
|