Update app.py
Browse files
app.py
CHANGED
@@ -120,8 +120,8 @@ with gr.Blocks() as app1:
|
|
120 |
image_box = gr.Image(label="β email screen", type="filepath")
|
121 |
btn1 = gr.Button("Generate To-Dos β")
|
122 |
out1 = gr.Textbox(label="here are the actionables...")
|
123 |
-
btn2 = gr.Button("send to Mobile βοΈ")
|
124 |
-
out2 = gr.Textbox(label="
|
125 |
|
126 |
btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
|
127 |
btn2.click(fn=send_SMS, inputs=out1, outputs=out2)
|
@@ -151,7 +151,7 @@ with gr.Blocks() as app2:
|
|
151 |
image_box = gr.Image(label="β ERP screen",type="filepath")
|
152 |
btn1 = gr.Button("Check ROQ β")
|
153 |
out1 = gr.Textbox(label="here is the watch list π...")
|
154 |
-
btn2 = gr.Button("send out reminders βοΈ")
|
155 |
out2 = gr.Textbox(label="response or feed back?")
|
156 |
|
157 |
btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
|
|
|
120 |
image_box = gr.Image(label="β email screen", type="filepath")
|
121 |
btn1 = gr.Button("Generate To-Dos β")
|
122 |
out1 = gr.Textbox(label="here are the actionables...")
|
123 |
+
btn2 = gr.Button("(disabled)send to Mobile βοΈ")
|
124 |
+
out2 = gr.Textbox(label="(disabled) no message been sent, this is just a mockup confirmation...")
|
125 |
|
126 |
btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
|
127 |
btn2.click(fn=send_SMS, inputs=out1, outputs=out2)
|
|
|
151 |
image_box = gr.Image(label="β ERP screen",type="filepath")
|
152 |
btn1 = gr.Button("Check ROQ β")
|
153 |
out1 = gr.Textbox(label="here is the watch list π...")
|
154 |
+
btn2 = gr.Button("(disabled)send out reminders βοΈ")
|
155 |
out2 = gr.Textbox(label="response or feed back?")
|
156 |
|
157 |
btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
|