hsienchen commited on
Commit
3c9a223
β€’
1 Parent(s): 65f8bb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="response from SMS gateway...")
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)